#D881F1

Closest named color: Violet (#EE82EE). oklch(73.7% 0.178 318.4), rgb(216, 129, 241).

Aa

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

About this color

#D881F1 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.33:1.

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

Values

HEX#D881F1
RGBrgb(216, 129, 241)
HSLhsl(287, 80%, 73%)
OKLCHoklch(73.7% 0.178 318.4)

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 #D881F1 2.52:1 Fails Lc -54.2 Large or bold text, headings
Black text on #D881F1 8.33:1 AAA Lc 54.9 Large or bold text, headings
#D881F1 text on white 2.52:1 Fails Lc 49.1 Large or bold text, headings
#D881F1 text on black 8.33:1 AAA Lc -52.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

    #F3E3F8

    oklch(93.5% 0.033 318.1)

  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)

    #D881F1

    oklch(73.7% 0.178 318.4)

  6. Step 500

    500

    #C04DDF

    oklch(63.1% 0.227 318.4)

  7. Step 600

    600

    #AC22CD

    oklch(55.6% 0.248 318.5)

  8. Step 700

    700

    #930EB1

    oklch(49% 0.23 318.4)

  9. Step 800

    800

    #781490

    oklch(42.8% 0.191 318.4)

  10. Step 900

    900

    #611C73

    oklch(37.8% 0.149 318.4)

  11. Step 950

    950

    #391343

    oklch(27.1% 0.093 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#D881F1 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)#6E9DF50.158
Deuteranopia (no green cones)#87A6EE0.142
Tritanopia (no blue cones)#D890AE0.114
Achromatopsia (no color)#A3A3A30.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #D881F1

    #D881F1

    oklch(73.7% 0.178 318.4)

  • #6BC34B

    #6BC34B

    oklch(73.7% 0.178 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D881F1

    #D881F1

    oklch(73.7% 0.178 318.4)

  • #A799FF

    #A799FF

    oklch(73.7% 0.145 288.6)

  • #F875BD

    #F875BD

    oklch(73.7% 0.178 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #D881F1

    #D881F1

    oklch(73.7% 0.178 318.4)

  • #B4B000

    #B4B000

    oklch(73.6% 0.159 108.1)

  • #00C798

    #00C798

    oklch(73.7% 0.149 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D881F1

    #D881F1

    oklch(73.7% 0.178 318.4)

  • #DE9C00

    #DE9C00

    oklch(73.8% 0.154 78.3)

  • #00C1C7

    #00C1C7

    oklch(73.6% 0.125 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D881F1

    #D881F1

    oklch(73.7% 0.178 318.4)

  • #FF8235

    #FF8235

    oklch(73.7% 0.175 48.4)

  • #6BC34B

    #6BC34B

    oklch(73.7% 0.178 138.3)

  • #00BAF1

    #00BAF1

    oklch(73.7% 0.144 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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