#DF8FF2

Closest named color: Violet (#EE82EE). oklch(76.6% 0.16 319.7), rgb(223, 143, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.160)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.34:1
White text2.24:1

Values

HEX#DF8FF2
RGBrgb(223, 143, 242)
HSLhsl(288, 79%, 75%)
OKLCHoklch(76.6% 0.16 319.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 #DF8FF2 2.24:1 Fails Lc -48.8 Large or bold text, headings
Black text on #DF8FF2 9.34:1 AAA Lc 59.9 Large or bold text, headings
#DF8FF2 text on white 2.24:1 Fails Lc 44.0 Non-text elements, placeholder text
#DF8FF2 text on black 9.34:1 AAA Lc -58.1 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 300.

  1. Step 50

    50

    #FCF1FF

    oklch(97.1% 0.022 319)

  2. Step 100

    100

    #F8E1FE

    oklch(93.7% 0.046 319.2)

  3. Step 200

    200

    #F4C7FE

    oklch(88.6% 0.088 320.1)

  4. Step 300

    300 (this color)

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  5. Step 400

    400

    #E15CFF

    oklch(70.8% 0.25 319.8)

  6. Step 500

    500

    #D300F7

    oklch(63.2% 0.303 319.9)

  7. Step 600

    600

    #B200D1

    oklch(55.7% 0.267 319.8)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #68007B

    oklch(37.7% 0.181 319.8)

  11. Step 950

    950

    #40004C

    oklch(27% 0.13 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#DF8FF2 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)#81A7F60.140
Deuteranopia (no green cones)#96B0EF0.128
Tritanopia (no blue cones)#E09BB50.102
Achromatopsia (no color)#ADADAD0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF8FF2

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  • #79CB65

    #79CB65

    oklch(76.6% 0.159 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF8FF2

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  • #B2A4FF

    #B2A4FF

    oklch(76.6% 0.129 290.1)

  • #FD85C2

    #FD85C2

    oklch(76.7% 0.16 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #DF8FF2

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  • #BABB1F

    #BABB1F

    oklch(76.7% 0.16 110.1)

  • #00D1A4

    #00D1A4

    oklch(76.6% 0.152 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF8FF2

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  • #E7A500

    #E7A500

    oklch(76.5% 0.159 79.8)

  • #00CBD3

    #00CBD3

    oklch(76.5% 0.13 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF8FF2

    #DF8FF2

    oklch(76.6% 0.16 319.7)

  • #FF9352

    #FF9352

    oklch(76.6% 0.153 49.9)

  • #79CB65

    #79CB65

    oklch(76.6% 0.159 139.7)

  • #13C3FF

    #13C3FF

    oklch(76.6% 0.15 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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