#D2AFFE

Closest named color: Pale Violet (#CEAEFA). oklch(81.2% 0.115 304.3), rgb(210, 175, 254).

Aa

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

About this color

#D2AFFE is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.115 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.009 away. Black text reads best on it, at 11.30:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.30:1
White text1.85:1

Values

HEX#D2AFFE
RGBrgb(210, 175, 254)
HSLhsl(267, 98%, 84%)
OKLCHoklch(81.2% 0.115 304.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 #D2AFFE 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D2AFFE 11.30:1 AAA Lc 68.9 Content text, not long reading
#D2AFFE text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#D2AFFE text on black 11.30:1 AAA Lc -67.6 Content text, not long reading

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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E2CFFC

    oklch(88.4% 0.064 304.3)

  4. Step 300

    300 (this color)

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  5. Step 400

    400

    #BA7EFC

    oklch(70.6% 0.184 304.1)

  6. Step 500

    500

    #AA55F9

    oklch(63% 0.235 304.2)

  7. Step 600

    600

    #962EE8

    oklch(55.5% 0.255 304.1)

  8. Step 700

    700

    #801CC9

    oklch(49% 0.237 304.2)

  9. Step 800

    800

    #681DA3

    oklch(42.7% 0.196 304.1)

  10. Step 900

    900

    #542181

    oklch(37.6% 0.153 304.1)

  11. Step 950

    950

    #31154C

    oklch(26.9% 0.098 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#D2AFFE 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)#9FBDFF0.074
Deuteranopia (no green cones)#A6BEFC0.068
Tritanopia (no blue cones)#CBBBCC0.088
Achromatopsia (no color)#BEBEBE0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2AFFE

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  • #B2CF7A

    #B2CF7A

    oklch(81.4% 0.115 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2AFFE

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  • #AFBEFF

    #AFBEFF

    oklch(81.3% 0.093 274.1)

  • #EFA5E0

    #EFA5E0

    oklch(81.1% 0.115 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #D2AFFE

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  • #DAC166

    #DAC166

    oklch(81.4% 0.115 94.3)

  • #83D8A0

    #83D8A0

    oklch(81.3% 0.115 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2AFFE

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  • #F5B270

    #F5B270

    oklch(81.3% 0.114 64.6)

  • #5ADACA

    #5ADACA

    oklch(81.3% 0.115 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2AFFE

    #D2AFFE

    oklch(81.2% 0.115 304.3)

  • #FFA893

    #FFA893

    oklch(81.2% 0.108 34.2)

  • #B2CF7A

    #B2CF7A

    oklch(81.4% 0.115 124.3)

  • #59D5EF

    #59D5EF

    oklch(81.3% 0.115 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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