#DCA1F2

Closest named color: Lilac (#CEA2FD). oklch(79.2% 0.128 316.6), rgb(220, 161, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.42:1
White text2.01:1

Values

HEX#DCA1F2
RGBrgb(220, 161, 242)
HSLhsl(284, 76%, 79%)
OKLCHoklch(79.2% 0.128 316.6)

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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FB

    oklch(93.6% 0.037 316.2)

  3. Step 200

    200

    #ECCBF9

    oklch(88.4% 0.071 316.4)

  4. Step 300

    300 (this color)

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  5. Step 400

    400

    #D270F4

    oklch(70.7% 0.205 316.7)

  6. Step 500

    500

    #C43CEF

    oklch(63% 0.261 316.5)

  7. Step 600

    600

    #AE00D9

    oklch(55.7% 0.272 316.6)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800

    #790098

    oklch(42.7% 0.209 316.6)

  10. Step 900

    900

    #630F7C

    oklch(37.7% 0.171 316.4)

  11. Step 950

    950

    #3A0E48

    oklch(27% 0.107 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#DCA1F2 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)#95B3F50.104
Deuteranopia (no green cones)#A3B9EF0.097
Tritanopia (no blue cones)#DCABBF0.085
Achromatopsia (no color)#B7B7B70.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCA1F2

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  • #94CE7B

    #94CE7B

    oklch(79.2% 0.127 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCA1F2

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  • #B6B1FF

    #B6B1FF

    oklch(79.3% 0.11 286.5)

  • #F799CC

    #F799CC

    oklch(79.4% 0.128 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #DCA1F2

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  • #C5C157

    #C5C157

    oklch(79.3% 0.128 107)

  • #5AD5A9

    #5AD5A9

    oklch(79.1% 0.128 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCA1F2

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  • #EAB053

    #EAB053

    oklch(79.4% 0.128 76.8)

  • #2BD4D7

    #2BD4D7

    oklch(79.2% 0.128 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCA1F2

    #DCA1F2

    oklch(79.2% 0.128 316.6)

  • #FEA072

    #FEA072

    oklch(79.1% 0.128 46.4)

  • #94CE7B

    #94CE7B

    oklch(79.2% 0.127 136.7)

  • #4CCBFA

    #4CCBFA

    oklch(79.1% 0.128 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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