#DB7EEC

Closest named color: Violet (#EE82EE). oklch(73.3% 0.18 321.3), rgb(219, 126, 236).

Aa

Black text reads best on this color (8.20:1).

About this color

#DB7EEC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.180 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.035 away. Black text reads best on it, at 8.20:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.180)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.20:1
White text2.55:1

Values

HEX#DB7EEC
RGBrgb(219, 126, 236)
HSLhsl(291, 74%, 71%)
OKLCHoklch(73.3% 0.18 321.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DB7EEC 2.55:1 Fails Lc -54.8 Large or bold text, headings
Black text on #DB7EEC 8.20:1 AAA Lc 54.3 Large or bold text, headings
#DB7EEC text on white 2.55:1 Fails Lc 49.7 Large or bold text, headings
#DB7EEC text on black 8.20:1 AAA Lc -52.2 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E2A8ED

    oklch(80.8% 0.113 321)

  5. Step 400

    400 (this color)

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  6. Step 500

    500

    #C549DB

    oklch(63.1% 0.231 321.3)

  7. Step 600

    600

    #B01CC8

    oklch(55.6% 0.25 321.2)

  8. Step 700

    700

    #9704AD

    oklch(49.1% 0.232 321.1)

  9. Step 800

    800

    #7B108C

    oklch(42.7% 0.192 321.3)

  10. Step 900

    900

    #631A70

    oklch(37.7% 0.15 321.1)

  11. Step 950

    950

    #3A1242

    oklch(27% 0.094 320.6)

Export this scale for Tailwind in the Tailwind colors tool

#DB7EEC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6E9BF00.165
Deuteranopia (no green cones)#89A5E90.147
Tritanopia (no blue cones)#DD8CAA0.112
Achromatopsia (no color)#A2A2A20.181

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DB7EEC

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  • #5FC351

    #5FC351

    oklch(73.2% 0.179 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB7EEC

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  • #AA96FF

    #AA96FF

    oklch(73.4% 0.15 291)

  • #FA72B6

    #FA72B6

    oklch(73.3% 0.181 351.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DB7EEC

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  • #ADB100

    #ADB100

    oklch(73.3% 0.161 111.4)

  • #00C59D

    #00C59D

    oklch(73.3% 0.143 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB7EEC

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  • #D89D00

    #D89D00

    oklch(73.3% 0.151 81.5)

  • #00BFC9

    #00BFC9

    oklch(73.2% 0.125 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB7EEC

    #DB7EEC

    oklch(73.3% 0.18 321.3)

  • #FE8121

    #FE8121

    oklch(73.3% 0.18 51.3)

  • #5FC351

    #5FC351

    oklch(73.2% 0.179 141.3)

  • #00B8F5

    #00B8F5

    oklch(73.4% 0.149 231.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DB7EEC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DB7EEC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.