#D2AFFF

Closest named color: Pale Violet (#CEAEFA). oklch(81.3% 0.116 304), rgb(210, 175, 255).

Aa

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

About this color

#D2AFFF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.116 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.010 away. Black text reads best on it, at 11.31:1.

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

Values

HEX#D2AFFF
RGBrgb(210, 175, 255)
HSLhsl(266, 100%, 84%)
OKLCHoklch(81.3% 0.116 304)

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 #D2AFFF 1.85:1 Fails Lc -39.1 Non-text elements, placeholder text
Black text on #D2AFFF 11.31:1 AAA Lc 69.0 Content text, not long reading
#D2AFFF text on white 1.85:1 Fails Lc 34.9 Non-text elements, placeholder text
#D2AFFF text on black 11.31: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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E2CFFC

    oklch(88.4% 0.064 304.3)

  4. Step 300

    300 (this color)

    #D2AFFF

    oklch(81.3% 0.116 304)

  5. Step 400

    400

    #BA7EFD

    oklch(70.7% 0.186 303.8)

  6. Step 500

    500

    #AA55FA

    oklch(63.1% 0.236 304)

  7. Step 600

    600

    #962DE9

    oklch(55.6% 0.257 304)

  8. Step 700

    700

    #801ACB

    oklch(49% 0.24 303.9)

  9. Step 800

    800

    #681CA4

    oklch(42.7% 0.198 303.9)

  10. Step 900

    900

    #542182

    oklch(37.7% 0.154 303.7)

  11. Step 950

    950

    #31154C

    oklch(26.9% 0.098 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#D2AFFF 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)#A5BEFD0.069
Tritanopia (no blue cones)#CBBBCC0.089
Achromatopsia (no color)#BEBEBE0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2AFFF

    #D2AFFF

    oklch(81.3% 0.116 304)

  • #B2CF79

    #B2CF79

    oklch(81.3% 0.116 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2AFFF

    #D2AFFF

    oklch(81.3% 0.116 304)

  • #AFBEFF

    #AFBEFF

    oklch(81.3% 0.093 274.1)

  • #F0A5E1

    #F0A5E1

    oklch(81.3% 0.117 334)

Open the analogous palette in the generator

Split complementary

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

  • #D2AFFF

    #D2AFFF

    oklch(81.3% 0.116 304)

  • #DAC165

    #DAC165

    oklch(81.3% 0.116 94.5)

  • #83D89F

    #83D89F

    oklch(81.3% 0.116 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2AFFF

    #D2AFFF

    oklch(81.3% 0.116 304)

  • #F6B16F

    #F6B16F

    oklch(81.2% 0.116 63.7)

  • #59DACA

    #59DACA

    oklch(81.2% 0.116 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2AFFF

    #D2AFFF

    oklch(81.3% 0.116 304)

  • #FFA894

    #FFA894

    oklch(81.2% 0.107 33.6)

  • #B2CF79

    #B2CF79

    oklch(81.3% 0.116 124.2)

  • #57D5EF

    #57D5EF

    oklch(81.3% 0.116 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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