#D1A7EA

Closest named color: Pale Violet (#CEAEFA). oklch(78.9% 0.103 312.5), rgb(209, 167, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.42:1
White text2.01:1

Values

HEX#D1A7EA
RGBrgb(209, 167, 234)
HSLhsl(278, 61%, 79%)
OKLCHoklch(78.9% 0.103 312.5)

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 #D1A7EA 2.01:1 Fails Lc -43.5 Non-text elements, placeholder text
Black text on #D1A7EA 10.42:1 AAA Lc 64.9 Content text, not long reading
#D1A7EA text on white 2.01:1 Fails Lc 39.0 Non-text elements, placeholder text
#D1A7EA text on black 10.42:1 AAA Lc -63.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F9

    oklch(93.7% 0.03 312.1)

  3. Step 200

    200

    #E6CFF5

    oklch(88.5% 0.057 312.1)

  4. Step 300

    300 (this color)

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  5. Step 400

    400

    #C37FE9

    oklch(70.7% 0.164 312.4)

  6. Step 500

    500

    #B458E2

    oklch(63.1% 0.21 312.7)

  7. Step 600

    600

    #9F36D0

    oklch(55.5% 0.229 312.4)

  8. Step 700

    700

    #8826B4

    oklch(49.1% 0.212 312.4)

  9. Step 800

    800

    #6F2392

    oklch(42.8% 0.176 312.5)

  10. Step 900

    900

    #5A2474

    oklch(37.8% 0.136 312.8)

  11. Step 950

    950

    #351644

    oklch(27% 0.087 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#D1A7EA 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)#9DB4ED0.076
Deuteranopia (no green cones)#A6B8E80.071
Tritanopia (no blue cones)#CFAFBF0.072
Achromatopsia (no color)#B7B7B70.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1A7EA

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  • #A1C983

    #A1C983

    oklch(79% 0.104 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1A7EA

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  • #B0B2FB

    #B0B2FB

    oklch(78.9% 0.103 282.5)

  • #E9A0CC

    #E9A0CC

    oklch(79% 0.103 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #D1A7EA

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  • #C7BD6C

    #C7BD6C

    oklch(78.9% 0.103 102.3)

  • #79CFA7

    #79CFA7

    oklch(78.9% 0.102 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1A7EA

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  • #E3B06D

    #E3B06D

    oklch(79% 0.103 72.9)

  • #5ECFCC

    #5ECFCC

    oklch(78.9% 0.103 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1A7EA

    #D1A7EA

    oklch(78.9% 0.103 312.5)

  • #F3A485

    #F3A485

    oklch(78.9% 0.104 42.2)

  • #A1C983

    #A1C983

    oklch(79% 0.104 132.5)

  • #67C9EA

    #67C9EA

    oklch(78.9% 0.103 222.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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