#D2A8FA

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.121 307.3), rgb(210, 168, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.72:1
White text1.95:1

Values

HEX#D2A8FA
RGBrgb(210, 168, 250)
HSLhsl(271, 89%, 82%)
OKLCHoklch(79.8% 0.121 307.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 #D2A8FA 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #D2A8FA 10.72:1 AAA Lc 66.3 Content text, not long reading
#D2A8FA text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#D2A8FA text on black 10.72:1 AAA Lc -64.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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FD

    oklch(93.6% 0.036 307.2)

  3. Step 200

    200

    #E5CEFC

    oklch(88.5% 0.067 307.6)

  4. Step 300

    300 (this color)

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  5. Step 400

    400

    #C17AFD

    oklch(70.8% 0.194 307.2)

  6. Step 500

    500

    #B24DFA

    oklch(63.1% 0.248 307.4)

  7. Step 600

    600

    #9E1DE9

    oklch(55.6% 0.27 307.4)

  8. Step 700

    700

    #8703CB

    oklch(49.1% 0.251 307.2)

  9. Step 800

    800

    #6E11A4

    oklch(42.8% 0.207 307.4)

  10. Step 900

    900

    #591B82

    oklch(37.7% 0.162 307.5)

  11. Step 950

    950

    #34134C

    oklch(27% 0.102 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#D2A8FA 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)#98B8FD0.084
Deuteranopia (no green cones)#A1BAF80.078
Tritanopia (no blue cones)#CDB4C60.090
Achromatopsia (no color)#B9B9B90.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A8FA

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  • #A8CC74

    #A8CC74

    oklch(79.9% 0.122 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A8FA

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  • #ADB7FF

    #ADB7FF

    oklch(79.8% 0.103 277.7)

  • #EF9ED9

    #EF9ED9

    oklch(79.7% 0.121 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #D2A8FA

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  • #D3BD5B

    #D3BD5B

    oklch(79.8% 0.121 96.8)

  • #74D59E

    #74D59E

    oklch(79.9% 0.122 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A8FA

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  • #F1AD63

    #F1AD63

    oklch(79.7% 0.121 66.9)

  • #47D6CB

    #47D6CB

    oklch(79.8% 0.121 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A8FA

    #D2A8FA

    oklch(79.8% 0.121 307.3)

  • #FFA186

    #FFA186

    oklch(79.8% 0.119 36.8)

  • #A8CC74

    #A8CC74

    oklch(79.9% 0.122 127.1)

  • #4BD0F0

    #4BD0F0

    oklch(79.8% 0.121 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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