#D77EF2

Closest named color: Violet (#EE82EE). oklch(73.2% 0.184 317.9), rgb(215, 126, 242).

Aa

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

About this color

#D77EF2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.184 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.043 away. Black text reads best on it, at 8.15:1.

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

Values

HEX#D77EF2
RGBrgb(215, 126, 242)
HSLhsl(286, 82%, 72%)
OKLCHoklch(73.2% 0.184 317.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 #D77EF2 2.57:1 Fails Lc -55.1 Large or bold text, headings
Black text on #D77EF2 8.15:1 AAA Lc 54.0 Large or bold text, headings
#D77EF2 text on white 2.57:1 Fails Lc 50.0 Large or bold text, headings
#D77EF2 text on black 8.15:1 AAA Lc -51.9 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

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCDF5

    oklch(88.6% 0.063 317.6)

  4. Step 300

    300

    #E0A9F1

    oklch(81% 0.115 318.1)

  5. Step 400

    400 (this color)

    #D77EF2

    oklch(73.2% 0.184 317.9)

  6. Step 500

    500

    #C14AE3

    oklch(63.2% 0.235 317.8)

  7. Step 600

    600

    #AD1BD0

    oklch(55.6% 0.255 318.2)

  8. Step 700

    700

    #9401B4

    oklch(49% 0.237 318.1)

  9. Step 800

    800

    #780F92

    oklch(42.7% 0.196 317.9)

  10. Step 900

    900

    #611A75

    oklch(37.7% 0.153 317.6)

  11. Step 950

    950

    #391244

    oklch(27% 0.096 318)

Export this scale for Tailwind in the Tailwind colors tool

#D77EF2 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)#699BF60.163
Deuteranopia (no green cones)#83A4EF0.146
Tritanopia (no blue cones)#D78EAD0.118
Achromatopsia (no color)#A1A1A10.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #D77EF2

    #D77EF2

    oklch(73.2% 0.184 317.9)

  • #68C244

    #68C244

    oklch(73.2% 0.184 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D77EF2

    #D77EF2

    oklch(73.2% 0.184 317.9)

  • #A497FF

    #A497FF

    oklch(73.1% 0.148 287.9)

  • #F871BC

    #F871BC

    oklch(73.1% 0.184 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #D77EF2

    #D77EF2

    oklch(73.2% 0.184 317.9)

  • #B3AE00

    #B3AE00

    oklch(73.1% 0.157 107.7)

  • #00C596

    #00C596

    oklch(73.1% 0.148 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D77EF2

    #D77EF2

    oklch(73.2% 0.184 317.9)

  • #DC9A00

    #DC9A00

    oklch(73.2% 0.153 78)

  • #00C0C4

    #00C0C4

    oklch(73.3% 0.125 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D77EF2

    #D77EF2

    oklch(73.2% 0.184 317.9)

  • #FF7F30

    #FF7F30

    oklch(73.2% 0.178 48)

  • #68C244

    #68C244

    oklch(73.2% 0.184 138)

  • #00B8EE

    #00B8EE

    oklch(73.1% 0.143 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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