#DCA7FF

Closest named color: Lilac (#CEA2FD). oklch(80.8% 0.133 311.2), rgb(220, 167, 255).

Aa

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

About this color

#DCA7FF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.133 and its hue 311°. 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 11.01:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.01:1
White text1.90:1

Values

HEX#DCA7FF
RGBrgb(220, 167, 255)
HSLhsl(276, 100%, 83%)
OKLCHoklch(80.8% 0.133 311.2)

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 #DCA7FF 1.90:1 Fails Lc -40.5 Non-text elements, placeholder text
Black text on #DCA7FF 11.01:1 AAA Lc 67.7 Content text, not long reading
#DCA7FF text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#DCA7FF text on black 11.01:1 AAA Lc -66.2 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FD

    oklch(93.5% 0.038 311.1)

  3. Step 200

    200

    #E9CCFD

    oklch(88.5% 0.073 311.4)

  4. Step 300

    300 (this color)

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  5. Step 400

    400

    #CB71FF

    oklch(70.7% 0.212 311.4)

  6. Step 500

    500

    #BD3CFD

    oklch(63.1% 0.271 311.3)

  7. Step 600

    600

    #A600E6

    oklch(55.5% 0.279 311.1)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7400A2

    oklch(42.8% 0.215 311.2)

  10. Step 900

    900

    #5F0E84

    oklch(37.7% 0.177 311.1)

  11. Step 950

    950

    #380E4D

    oklch(27.1% 0.111 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#DCA7FF 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)#97B9FF0.101
Deuteranopia (no green cones)#A3BDFC0.093
Tritanopia (no blue cones)#D8B3C80.093
Achromatopsia (no color)#BCBCBC0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCA7FF

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  • #A2D275

    #A2D275

    oklch(80.9% 0.132 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCA7FF

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  • #B5B9FF

    #B5B9FF

    oklch(80.8% 0.099 281.4)

  • #FA9DD9

    #FA9DD9

    oklch(80.8% 0.132 341.4)

Open the analogous palette in the generator

Split complementary

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

  • #DCA7FF

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  • #D3C353

    #D3C353

    oklch(80.9% 0.133 101.2)

  • #66DBA5

    #66DBA5

    oklch(80.9% 0.133 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCA7FF

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  • #F6B157

    #F6B157

    oklch(80.9% 0.133 71.1)

  • #2ADBD5

    #2ADBD5

    oklch(80.8% 0.133 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCA7FF

    #DCA7FF

    oklch(80.8% 0.133 311.2)

  • #FFA786

    #FFA786

    oklch(80.8% 0.114 41.3)

  • #A2D275

    #A2D275

    oklch(80.9% 0.132 131.1)

  • #40D3FC

    #40D3FC

    oklch(80.8% 0.132 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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