#D3A2F2

Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.122 311.7), rgb(211, 162, 242).

Aa

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

About this color

#D3A2F2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.122 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.018 away. Black text reads best on it, at 10.22:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.22:1
White text2.05:1

Values

HEX#D3A2F2
RGBrgb(211, 162, 242)
HSLhsl(277, 75%, 79%)
OKLCHoklch(78.5% 0.122 311.7)

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 #D3A2F2 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #D3A2F2 10.22:1 AAA Lc 64.0 Content text, not long reading
#D3A2F2 text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#D3A2F2 text on black 10.22:1 AAA Lc -62.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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F2E4FC

    oklch(93.7% 0.035 311.4)

  3. Step 200

    200

    #E8CDFA

    oklch(88.5% 0.067 311.8)

  4. Step 300

    300 (this color)

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  5. Step 400

    400

    #C876F7

    oklch(70.6% 0.195 311.7)

  6. Step 500

    500

    #BA48F3

    oklch(63.1% 0.249 311.9)

  7. Step 600

    600

    #A612E2

    oklch(55.6% 0.271 311.8)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #73089F

    oklch(42.7% 0.209 311.5)

  10. Step 900

    900

    #5D187E

    oklch(37.6% 0.163 311.7)

  11. Step 950

    950

    #37114A

    oklch(27% 0.104 312)

Export this scale for Tailwind in the Tailwind colors tool

#D3A2F2 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)#94B2F50.092
Deuteranopia (no green cones)#9FB6F00.085
Tritanopia (no blue cones)#D0ADBF0.087
Achromatopsia (no color)#B5B5B50.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3A2F2

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  • #9CC975

    #9CC975

    oklch(78.4% 0.122 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3A2F2

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  • #ADB0FF

    #ADB0FF

    oklch(78.5% 0.112 281.8)

  • #EF99CF

    #EF99CF

    oklch(78.6% 0.122 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #D3A2F2

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  • #C9BC58

    #C9BC58

    oklch(78.6% 0.122 102)

  • #68D1A1

    #68D1A1

    oklch(78.5% 0.121 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3A2F2

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  • #E9AB5A

    #E9AB5A

    oklch(78.4% 0.122 71.7)

  • #3BD2CD

    #3BD2CD

    oklch(78.7% 0.122 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3A2F2

    #D3A2F2

    oklch(78.5% 0.122 311.7)

  • #FB9E7A

    #FB9E7A

    oklch(78.6% 0.122 41.8)

  • #9CC975

    #9CC975

    oklch(78.4% 0.122 131.7)

  • #4BCAF1

    #4BCAF1

    oklch(78.5% 0.122 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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