#D2A7EF

Closest named color: Pale Violet (#CEAEFA). oklch(79.2% 0.11 311.2), rgb(210, 167, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.51:1
White text1.99:1

Values

HEX#D2A7EF
RGBrgb(210, 167, 239)
HSLhsl(276, 69%, 80%)
OKLCHoklch(79.2% 0.11 311.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 #D2A7EF 1.99:1 Fails Lc -43.0 Non-text elements, placeholder text
Black text on #D2A7EF 10.51:1 AAA Lc 65.3 Content text, not long reading
#D2A7EF text on white 1.99:1 Fails Lc 38.6 Non-text elements, placeholder text
#D2A7EF text on black 10.51:1 AAA Lc -63.8 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E6CEF7

    oklch(88.4% 0.061 311.3)

  4. Step 300

    300 (this color)

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  5. Step 400

    400

    #C47CEF

    oklch(70.7% 0.176 311.6)

  6. Step 500

    500

    #B454EA

    oklch(63.1% 0.224 311.1)

  7. Step 600

    600

    #A02ED8

    oklch(55.6% 0.244 311.2)

  8. Step 700

    700

    #891DBB

    oklch(49.1% 0.226 311.3)

  9. Step 800

    800

    #6F1D97

    oklch(42.6% 0.187 311.3)

  10. Step 900

    900

    #5A2179

    oklch(37.8% 0.146 311)

  11. Step 950

    950

    #351547

    oklch(27.1% 0.093 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#D2A7EF 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)#9BB5F20.080
Deuteranopia (no green cones)#A4B8ED0.074
Tritanopia (no blue cones)#CFB0C10.077
Achromatopsia (no color)#B7B7B70.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A7EF

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  • #A2CA7F

    #A2CA7F

    oklch(79.2% 0.109 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A7EF

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #EB9FD0

    #EB9FD0

    oklch(79.1% 0.109 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #D2A7EF

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  • #CABD67

    #CABD67

    oklch(79.1% 0.109 100.8)

  • #76D1A5

    #76D1A5

    oklch(79.2% 0.109 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A7EF

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  • #E7AF69

    #E7AF69

    oklch(79.1% 0.109 71.3)

  • #56D2CC

    #56D2CC

    oklch(79.3% 0.11 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A7EF

    #D2A7EF

    oklch(79.2% 0.11 311.2)

  • #F7A384

    #F7A384

    oklch(79.1% 0.109 41)

  • #A2CA7F

    #A2CA7F

    oklch(79.2% 0.109 131.3)

  • #5FCBED

    #5FCBED

    oklch(79.2% 0.11 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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