#DA87EF

Closest named color: Violet (#EE82EE). oklch(74.7% 0.168 319.3), rgb(218, 135, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.168)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.69:1
White text2.41:1

Values

HEX#DA87EF
RGBrgb(218, 135, 239)
HSLhsl(288, 76%, 73%)
OKLCHoklch(74.7% 0.168 319.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 #DA87EF 2.41:1 Fails Lc -52.3 Large or bold text, headings
Black text on #DA87EF 8.69:1 AAA Lc 56.7 Large or bold text, headings
#DA87EF text on white 2.41:1 Fails Lc 47.3 Large or bold text, headings
#DA87EF text on black 8.69:1 AAA Lc -54.7 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACDF2

    oklch(88.4% 0.059 318.9)

  4. Step 300

    300

    #DEABEC

    oklch(80.9% 0.105 318.9)

  5. Step 400

    400 (this color)

    #DA87EF

    oklch(74.7% 0.168 319.3)

  6. Step 500

    500

    #BF52D9

    oklch(63.2% 0.214 319.4)

  7. Step 600

    600

    #AA2DC6

    oklch(55.6% 0.233 319.4)

  8. Step 700

    700

    #921CAB

    oklch(49.1% 0.217 319.5)

  9. Step 800

    800

    #761C8B

    oklch(42.7% 0.18 319)

  10. Step 900

    900

    #60206F

    oklch(37.8% 0.14 319.4)

  11. Step 950

    950

    #381441

    oklch(26.9% 0.089 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DA87EF 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)#77A1F30.148
Deuteranopia (no green cones)#8EAAEC0.134
Tritanopia (no blue cones)#DB94B00.106
Achromatopsia (no color)#A7A7A70.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #DA87EF

    #DA87EF

    oklch(74.7% 0.168 319.3)

  • #70C659

    #70C659

    oklch(74.8% 0.168 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DA87EF

    #DA87EF

    oklch(74.7% 0.168 319.3)

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #F87CBD

    #F87CBD

    oklch(74.6% 0.167 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #DA87EF

    #DA87EF

    oklch(74.7% 0.168 319.3)

  • #B5B400

    #B5B400

    oklch(74.6% 0.162 109.4)

  • #00CA9D

    #00CA9D

    oklch(74.6% 0.149 169.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DA87EF

    #DA87EF

    oklch(74.7% 0.168 319.3)

  • #E09F00

    #E09F00

    oklch(74.6% 0.155 79.3)

  • #00C5CC

    #00C5CC

    oklch(74.8% 0.127 199.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DA87EF

    #DA87EF

    oklch(74.7% 0.168 319.3)

  • #FF883E

    #FF883E

    oklch(74.7% 0.168 49.3)

  • #70C659

    #70C659

    oklch(74.8% 0.168 139.4)

  • #00BDF7

    #00BDF7

    oklch(74.7% 0.148 229.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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