#DC7CFA

Closest named color: Violet (#EE82EE). oklch(73.8% 0.197 317.7), rgb(220, 124, 250).

Aa

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

About this color

#DC7CFA is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.197 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.041 away. Black text reads best on it, at 8.30:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.197)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.30:1
White text2.52:1

Values

HEX#DC7CFA
RGBrgb(220, 124, 250)
HSLhsl(286, 93%, 73%)
OKLCHoklch(73.8% 0.197 317.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 #DC7CFA 2.52:1 Fails Lc -54.2 Large or bold text, headings
Black text on #DC7CFA 8.30:1 AAA Lc 54.8 Large or bold text, headings
#DC7CFA text on white 2.52:1 Fails Lc 49.2 Large or bold text, headings
#DC7CFA text on black 8.30:1 AAA Lc -52.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300

    #E2A7F5

    oklch(81% 0.124 317.7)

  5. Step 400

    400 (this color)

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  6. Step 500

    500

    #C441EA

    oklch(63.1% 0.252 317.4)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #631378

    oklch(37.7% 0.164 317.9)

  11. Step 950

    950

    #3A0F47

    oklch(27% 0.104 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#DC7CFA 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)#639DFE0.178
Deuteranopia (no green cones)#81A6F70.158
Tritanopia (no blue cones)#DC8FB00.128
Achromatopsia (no color)#A3A3A30.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7CFA

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  • #65C638

    #65C638

    oklch(74% 0.198 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7CFA

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  • #A69AFF

    #A69AFF

    oklch(73.8% 0.144 287.8)

  • #FF6EC1

    #FF6EC1

    oklch(73.9% 0.197 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #DC7CFA

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  • #B5B000

    #B5B000

    oklch(73.7% 0.159 107.7)

  • #00C897

    #00C897

    oklch(73.9% 0.151 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7CFA

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  • #DF9C00

    #DF9C00

    oklch(73.9% 0.154 77.9)

  • #00C2C6

    #00C2C6

    oklch(73.8% 0.126 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7CFA

    #DC7CFA

    oklch(73.8% 0.197 317.7)

  • #FF833A

    #FF833A

    oklch(73.9% 0.172 47.8)

  • #65C638

    #65C638

    oklch(74% 0.198 137.7)

  • #00BBF1

    #00BBF1

    oklch(73.9% 0.144 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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