#DCA2FC

Closest named color: Lilac (#CEA2FD). oklch(79.8% 0.138 313), rgb(220, 162, 252).

Aa

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

About this color

#DCA2FC is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.138 and its hue 313°. 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.61:1.

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

Values

HEX#DCA2FC
RGBrgb(220, 162, 252)
HSLhsl(279, 94%, 81%)
OKLCHoklch(79.8% 0.138 313)

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 #DCA2FC 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #DCA2FC 10.61:1 AAA Lc 65.8 Content text, not long reading
#DCA2FC text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#DCA2FC text on black 10.61:1 AAA Lc -64.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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F3E3FD

    oklch(93.6% 0.039 312.7)

  3. Step 200

    200

    #EBCBFE

    oklch(88.5% 0.077 312.8)

  4. Step 300

    300 (this color)

    #DCA2FC

    oklch(79.8% 0.138 313)

  5. Step 400

    400

    #CF6EFF

    oklch(70.7% 0.218 313.1)

  6. Step 500

    500

    #C233FE

    oklch(63.1% 0.281 312.9)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #75009E

    oklch(42.6% 0.212 312.9)

  10. Step 900

    900

    #620584

    oklch(37.7% 0.183 313.1)

  11. Step 950

    950

    #390B4D

    oklch(26.9% 0.115 312.9)

Export this scale for Tailwind in the Tailwind colors tool

#DCA2FC 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)#93B5FF0.107
Deuteranopia (no green cones)#A0BAF90.099
Tritanopia (no blue cones)#D9AEC40.095
Achromatopsia (no color)#B8B8B80.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCA2FC

    #DCA2FC

    oklch(79.8% 0.138 313)

  • #9AD071

    #9AD071

    oklch(79.8% 0.137 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCA2FC

    #DCA2FC

    oklch(79.8% 0.138 313)

  • #B3B5FF

    #B3B5FF

    oklch(79.9% 0.104 282.6)

  • #FA98D4

    #FA98D4

    oklch(79.8% 0.137 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #DCA2FC

    #DCA2FC

    oklch(79.8% 0.138 313)

  • #CEC14B

    #CEC14B

    oklch(80% 0.138 103)

  • #59D9A4

    #59D9A4

    oklch(80% 0.138 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCA2FC

    #DCA2FC

    oklch(79.8% 0.138 313)

  • #F2AE4C

    #F2AE4C

    oklch(79.8% 0.138 73.2)

  • #00D8D5

    #00D8D5

    oklch(79.8% 0.137 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCA2FC

    #DCA2FC

    oklch(79.8% 0.138 313)

  • #FFA27C

    #FFA27C

    oklch(79.7% 0.122 42.9)

  • #9AD071

    #9AD071

    oklch(79.8% 0.137 133)

  • #34D0FD

    #34D0FD

    oklch(79.9% 0.137 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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