#D1AFFC

Closest named color: Pale Violet (#CEAEFA). oklch(81.1% 0.112 304.2), rgb(209, 175, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.24:1
White text1.86:1

Values

HEX#D1AFFC
RGBrgb(209, 175, 252)
HSLhsl(266, 93%, 84%)
OKLCHoklch(81.1% 0.112 304.2)

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 #D1AFFC 1.86:1 Fails Lc -39.4 Non-text elements, placeholder text
Black text on #D1AFFC 11.24:1 AAA Lc 68.7 Content text, not long reading
#D1AFFC text on white 1.86:1 Fails Lc 35.2 Non-text elements, placeholder text
#D1AFFC text on black 11.24:1 AAA Lc -67.3 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300 (this color)

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  5. Step 400

    400

    #BA80F9

    oklch(70.8% 0.178 304.4)

  6. Step 500

    500

    #A958F6

    oklch(63.1% 0.228 304.1)

  7. Step 600

    600

    #9533E5

    oklch(55.6% 0.248 304.1)

  8. Step 700

    700

    #8021C7

    oklch(49.1% 0.232 304.4)

  9. Step 800

    800

    #6820A1

    oklch(42.8% 0.192 304.4)

  10. Step 900

    900

    #542380

    oklch(37.8% 0.149 304.1)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFFC 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.072
Deuteranopia (no green cones)#A6BEFA0.067
Tritanopia (no blue cones)#CABACB0.085
Achromatopsia (no color)#BEBEBE0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFFC

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  • #B2CE7C

    #B2CE7C

    oklch(81.2% 0.112 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFFC

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  • #AEBDFF

    #AEBDFF

    oklch(81.1% 0.095 274.2)

  • #EEA6DF

    #EEA6DF

    oklch(81.2% 0.112 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFFC

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  • #D9C068

    #D9C068

    oklch(81.1% 0.112 93.9)

  • #84D7A0

    #84D7A0

    oklch(81.1% 0.113 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFFC

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  • #F4B271

    #F4B271

    oklch(81.2% 0.112 64.7)

  • #5ED9CA

    #5ED9CA

    oklch(81.2% 0.112 184.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFFC

    #D1AFFC

    oklch(81.1% 0.112 304.2)

  • #FFA792

    #FFA792

    oklch(81% 0.109 34.1)

  • #B2CE7C

    #B2CE7C

    oklch(81.2% 0.112 124.2)

  • #5CD4ED

    #5CD4ED

    oklch(81.1% 0.112 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 #D1AFFC, closest first.

Similar named colors

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

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