#DCA2FE

Closest named color: Lilac (#CEA2FD). oklch(79.9% 0.14 312.4), rgb(220, 162, 254).

Aa

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

About this color

#DCA2FE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.140 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.022 away. Black text reads best on it, at 10.64:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.64:1
White text1.97:1

Values

HEX#DCA2FE
RGBrgb(220, 162, 254)
HSLhsl(278, 98%, 82%)
OKLCHoklch(79.9% 0.14 312.4)

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 #DCA2FE 1.97:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #DCA2FE 10.64:1 AAA Lc 66.0 Content text, not long reading
#DCA2FE text on white 1.97:1 Fails Lc 37.9 Non-text elements, placeholder text
#DCA2FE text on black 10.64:1 AAA Lc -64.5 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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F3E3FE

    oklch(93.7% 0.04 311.8)

  3. Step 200

    200

    #EBCBFF

    oklch(88.5% 0.078 312.3)

  4. Step 300

    300 (this color)

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  5. Step 400

    400

    #CD6FFF

    oklch(70.6% 0.216 312.3)

  6. Step 500

    500

    #C134FF

    oklch(63.1% 0.281 312.4)

  7. Step 600

    600

    #A800E3

    oklch(55.6% 0.277 312.4)

  8. Step 700

    700

    #8E00C1

    oklch(49.2% 0.246 312.3)

  9. Step 800

    800

    #7500A0

    oklch(42.8% 0.214 312.3)

  10. Step 900

    900

    #620286

    oklch(37.8% 0.187 312.5)

  11. Step 950

    950

    #390A4E

    oklch(26.9% 0.118 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#DCA2FE 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)#92B5FF0.108
Deuteranopia (no green cones)#9FBAFB0.100
Tritanopia (no blue cones)#D9AFC40.099
Achromatopsia (no color)#B8B8B80.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCA2FE

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  • #9BD06F

    #9BD06F

    oklch(79.9% 0.139 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCA2FE

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  • #B3B5FF

    #B3B5FF

    oklch(79.9% 0.104 282.6)

  • #FB98D6

    #FB98D6

    oklch(80% 0.14 342.5)

Open the analogous palette in the generator

Split complementary

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

  • #DCA2FE

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  • #CFC048

    #CFC048

    oklch(79.8% 0.139 102.2)

  • #58D9A2

    #58D9A2

    oklch(79.9% 0.14 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCA2FE

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  • #F4AE4A

    #F4AE4A

    oklch(80% 0.14 72.8)

  • #00D9D5

    #00D9D5

    oklch(80% 0.137 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCA2FE

    #DCA2FE

    oklch(79.9% 0.14 312.4)

  • #FFA37E

    #FFA37E

    oklch(80% 0.121 42.6)

  • #9BD06F

    #9BD06F

    oklch(79.9% 0.139 132.3)

  • #2DD1FE

    #2DD1FE

    oklch(80% 0.14 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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