#DB7DEA

Closest named color: Violet (#EE82EE). oklch(73.1% 0.179 321.9), rgb(219, 125, 234).

Aa

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

About this color

#DB7DEA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.179 and its hue 322°. 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.13:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.179)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.13:1
White text2.58:1

Values

HEX#DB7DEA
RGBrgb(219, 125, 234)
HSLhsl(292, 72%, 70%)
OKLCHoklch(73.1% 0.179 321.9)

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 #DB7DEA 2.58:1 Fails Lc -55.2 Large or bold text, headings
Black text on #DB7DEA 8.13:1 AAA Lc 53.9 Large or bold text, headings
#DB7DEA text on white 2.58:1 Fails Lc 50.1 Large or bold text, headings
#DB7DEA text on black 8.13:1 AAA Lc -51.8 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

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E3A8EC

    oklch(80.9% 0.113 322)

  5. Step 400

    400 (this color)

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  6. Step 500

    500

    #C649D9

    oklch(63.1% 0.229 322.1)

  7. Step 600

    600

    #B11BC7

    oklch(55.6% 0.25 321.8)

  8. Step 700

    700

    #9803AC

    oklch(49.1% 0.232 321.8)

  9. Step 800

    800

    #7B0F8B

    oklch(42.6% 0.192 321.7)

  10. Step 900

    900

    #641A6F

    oklch(37.8% 0.149 322.2)

  11. Step 950

    950

    #3B1141

    oklch(27% 0.096 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#DB7DEA 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)#6E9AEE0.165
Deuteranopia (no green cones)#89A5E70.148
Tritanopia (no blue cones)#DD8BA90.110
Achromatopsia (no color)#A1A1A10.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB7DEA

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  • #5CC352

    #5CC352

    oklch(73.1% 0.18 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB7DEA

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  • #AB94FF

    #AB94FF

    oklch(73.1% 0.153 292.1)

  • #F972B4

    #F972B4

    oklch(73.1% 0.179 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #DB7DEA

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  • #ABB100

    #ABB100

    oklch(73.1% 0.162 112.2)

  • #00C49E

    #00C49E

    oklch(73.1% 0.141 172.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB7DEA

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  • #D79D00

    #D79D00

    oklch(73.2% 0.151 82)

  • #00BEC9

    #00BEC9

    oklch(73% 0.124 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB7DEA

    #DB7DEA

    oklch(73.1% 0.179 321.9)

  • #FD811D

    #FD811D

    oklch(73.1% 0.18 51.9)

  • #5CC352

    #5CC352

    oklch(73.1% 0.18 141.9)

  • #00B7F5

    #00B7F5

    oklch(73.2% 0.149 231.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DB7DEA.

Similar named colors

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

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