#D882F2

Closest named color: Violet (#EE82EE). oklch(73.9% 0.178 318), rgb(216, 130, 242).

Aa

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

About this color

#D882F2 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.178 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.038 away. Black text reads best on it, at 8.39:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.178)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.39:1
White text2.50:1

Values

HEX#D882F2
RGBrgb(216, 130, 242)
HSLhsl(286, 81%, 73%)
OKLCHoklch(73.9% 0.178 318)

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 #D882F2 2.50:1 Fails Lc -53.9 Large or bold text, headings
Black text on #D882F2 8.39:1 AAA Lc 55.2 Large or bold text, headings
#D882F2 text on white 2.50:1 Fails Lc 48.8 Large or bold text, headings
#D882F2 text on black 8.39:1 AAA Lc -53.2 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

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EBCDF4

    oklch(88.5% 0.062 318.4)

  4. Step 300

    300

    #DFAAEF

    oklch(81% 0.11 318.2)

  5. Step 400

    400 (this color)

    #D882F2

    oklch(73.9% 0.178 318)

  6. Step 500

    500

    #BF4DE0

    oklch(63% 0.227 317.8)

  7. Step 600

    600

    #AB23CD

    oklch(55.5% 0.247 318.1)

  8. Step 700

    700

    #930FB2

    oklch(49.2% 0.23 318.1)

  9. Step 800

    800

    #771590

    oklch(42.7% 0.19 317.9)

  10. Step 900

    900

    #601C73

    oklch(37.6% 0.149 317.8)

  11. Step 950

    950

    #391343

    oklch(27.1% 0.093 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#D882F2 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)#6F9EF60.156
Deuteranopia (no green cones)#87A7EF0.141
Tritanopia (no blue cones)#D891AF0.114
Achromatopsia (no color)#A4A4A40.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #D882F2

    #D882F2

    oklch(73.9% 0.178 318)

  • #6DC44B

    #6DC44B

    oklch(74% 0.179 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D882F2

    #D882F2

    oklch(73.9% 0.178 318)

  • #A79AFF

    #A79AFF

    oklch(73.8% 0.144 288.3)

  • #F876BE

    #F876BE

    oklch(73.9% 0.177 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #D882F2

    #D882F2

    oklch(73.9% 0.178 318)

  • #B5B100

    #B5B100

    oklch(74% 0.16 108.1)

  • #00C898

    #00C898

    oklch(73.9% 0.15 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D882F2

    #D882F2

    oklch(73.9% 0.178 318)

  • #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.

  • #D882F2

    #D882F2

    oklch(73.9% 0.178 318)

  • #FF8339

    #FF8339

    oklch(73.9% 0.173 48)

  • #6DC44B

    #6DC44B

    oklch(74% 0.179 138)

  • #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 #D882F2, closest first.

Similar named colors

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

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