#DB7DEF

Closest named color: Violet (#EE82EE). oklch(73.3% 0.184 320.4), rgb(219, 125, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.184)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.19:1
White text2.56:1

Values

HEX#DB7DEF
RGBrgb(219, 125, 239)
HSLhsl(289, 78%, 71%)
OKLCHoklch(73.3% 0.184 320.4)

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 #DB7DEF 2.56:1 Fails Lc -54.9 Large or bold text, headings
Black text on #DB7DEF 8.19:1 AAA Lc 54.2 Large or bold text, headings
#DB7DEF text on white 2.56:1 Fails Lc 49.8 Large or bold text, headings
#DB7DEF text on black 8.19:1 AAA Lc -52.1 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF4

    oklch(88.5% 0.065 320.3)

  4. Step 300

    300

    #E2A8EF

    oklch(80.9% 0.116 320.1)

  5. Step 400

    400 (this color)

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  6. Step 500

    500

    #C547DE

    oklch(63.1% 0.236 320.5)

  7. Step 600

    600

    #B015CC

    oklch(55.5% 0.256 320.3)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7B0B8F

    oklch(42.7% 0.197 320.3)

  10. Step 900

    900

    #631872

    oklch(37.6% 0.154 320.3)

  11. Step 950

    950

    #3A1143

    oklch(27% 0.097 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#DB7DEF 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)#6B9BF30.168
Deuteranopia (no green cones)#86A5EC0.151
Tritanopia (no blue cones)#DC8CAB0.115
Achromatopsia (no color)#A2A2A20.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB7DEF

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  • #60C44B

    #60C44B

    oklch(73.4% 0.185 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB7DEF

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  • #A996FF

    #A996FF

    oklch(73.3% 0.149 290.5)

  • #FB71B8

    #FB71B8

    oklch(73.4% 0.184 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #DB7DEF

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  • #AFB100

    #AFB100

    oklch(73.4% 0.161 110.6)

  • #00C59B

    #00C59B

    oklch(73.3% 0.145 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB7DEF

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  • #DA9C00

    #DA9C00

    oklch(73.3% 0.152 80.1)

  • #00C0C8

    #00C0C8

    oklch(73.4% 0.125 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB7DEF

    #DB7DEF

    oklch(73.3% 0.184 320.4)

  • #FF8024

    #FF8024

    oklch(73.3% 0.181 50.3)

  • #60C44B

    #60C44B

    oklch(73.4% 0.185 140.3)

  • #00B8F3

    #00B8F3

    oklch(73.3% 0.147 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #DB7DEF 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.