#DB7EF8

Closest named color: Violet (#EE82EE). oklch(73.9% 0.192 317.7), rgb(219, 126, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.192)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.35:1
White text2.51:1

Values

HEX#DB7EF8
RGBrgb(219, 126, 248)
HSLhsl(286, 90%, 73%)
OKLCHoklch(73.9% 0.192 317.7)

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 #DB7EF8 2.51:1 Fails Lc -54.0 Large or bold text, headings
Black text on #DB7EF8 8.35:1 AAA Lc 55.0 Large or bold text, headings
#DB7EF8 text on white 2.51:1 Fails Lc 49.0 Large or bold text, headings
#DB7EF8 text on black 8.35:1 AAA Lc -53.0 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #ECCCF6

    oklch(88.5% 0.066 318.1)

  4. Step 300

    300

    #E1A8F3

    oklch(81% 0.119 317.9)

  5. Step 400

    400 (this color)

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  6. Step 500

    500

    #C345E7

    oklch(63.2% 0.245 317.7)

  7. Step 600

    600

    #AE09D5

    oklch(55.6% 0.267 317.5)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0395

    oklch(42.7% 0.205 318)

  10. Step 900

    900

    #621677

    oklch(37.7% 0.16 317.6)

  11. Step 950

    950

    #3A1046

    oklch(27.1% 0.102 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#DB7EF8 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)#679DFC0.171
Deuteranopia (no green cones)#83A6F50.152
Tritanopia (no blue cones)#DB90B00.124
Achromatopsia (no color)#A3A3A30.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB7EF8

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  • #68C53E

    #68C53E

    oklch(73.9% 0.192 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB7EF8

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  • #A69BFF

    #A69BFF

    oklch(74% 0.142 287.4)

  • #FD70C0

    #FD70C0

    oklch(73.8% 0.191 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #DB7EF8

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  • #B6B100

    #B6B100

    oklch(74% 0.159 107.7)

  • #00C898

    #00C898

    oklch(73.9% 0.15 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB7EF8

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  • #DF9C00

    #DF9C00

    oklch(73.9% 0.154 77.9)

  • #00C2C7

    #00C2C7

    oklch(73.9% 0.126 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB7EF8

    #DB7EF8

    oklch(73.9% 0.192 317.7)

  • #FF833B

    #FF833B

    oklch(73.9% 0.172 47.6)

  • #68C53E

    #68C53E

    oklch(73.9% 0.192 137.6)

  • #00BBF1

    #00BBF1

    oklch(73.9% 0.144 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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