graf1x

DarkViolet and Lavender

Analogous color combination with 1.95:1 contrast ratio

#9400D3
#B56EDC

Color Values

DarkViolet
HEX #9400D3
RGB 148, 0, 211
HSL 282, 100%, 41%
Lavender
HEX #B56EDC
RGB 181, 110, 220
HSL 279, 61%, 65%

Harmony: Analogous

These colors sit beside each other on the wheel, so the pairing feels calm and cohesive. Analogous schemes are easy on the eye and work well for gradients, backgrounds, and designs that want to feel settled rather than energetic.

The hue angle between DarkViolet and Lavender is 3 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.95:1
DarkViolet background with Lavender text
Below AA — decorative use only

UI Preview

DarkViolet surface

Sample text on a darkviolet background demonstrates readability and visual hierarchy.

Lavender surface

Sample text on a lavender background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #9400D3;
  --color-b: #B56EDC;
  --color-a-rgb: 148, 0, 211;
  --color-b-rgb: 181, 110, 220;
}

JSON

{
  "name": "DarkViolet and Lavender",
  "colors": [
    {
      "name": "DarkViolet",
      "hex": "#9400D3",
      "rgb": [
        148,
        0,
        211
      ]
    },
    {
      "name": "Lavender",
      "hex": "#B56EDC",
      "rgb": [
        181,
        110,
        220
      ]
    }
  ],
  "harmony": "Analogous",
  "contrastRatio": 1.95
}

Explore These Colors

Frequently Asked Questions

Do darkviolet and lavender go together?

Yes. DarkViolet and Lavender form a analogous color combination. These colors sit beside each other on the wheel, so the pairing feels calm and cohesive. Analogous schemes are easy on the eye and work well for gradients, backgrounds, and designs that want to feel settled rather than energetic. The pairing has a WCAG contrast ratio of 1.95:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between darkviolet and lavender?

The WCAG 2.1 contrast ratio between DarkViolet (#9400D3) and Lavender (#B56EDC) is 1.95:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use darkviolet and lavender in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Because analogous colors blend naturally, you can use them in more equal proportions without visual conflict. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for darkviolet and lavender?

DarkViolet has the hex code #9400D3 and RGB values rgb(148, 0, 211). Lavender has the hex code #B56EDC and RGB values rgb(181, 110, 220). You can copy these directly into CSS or use the design tokens provided on this page.