#DC7CEF

Closest named color: Violet (#EE82EE). oklch(73.3% 0.187 320.8), rgb(220, 124, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.187)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.17:1
White text2.56:1

Values

HEX#DC7CEF
RGBrgb(220, 124, 239)
HSLhsl(290, 78%, 71%)
OKLCHoklch(73.3% 0.187 320.8)

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 #DC7CEF 2.56:1 Fails Lc -55.0 Large or bold text, headings
Black text on #DC7CEF 8.17:1 AAA Lc 54.1 Large or bold text, headings
#DC7CEF text on white 2.56:1 Fails Lc 49.9 Large or bold text, headings
#DC7CEF text on black 8.17:1 AAA Lc -52.0 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EDCCF4

    oklch(88.5% 0.065 320.3)

  4. Step 300

    300

    #E3A8EF

    oklch(81% 0.116 320.6)

  5. Step 400

    400 (this color)

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  6. Step 500

    500

    #C645DE

    oklch(63% 0.238 320.9)

  7. Step 600

    600

    #B210CC

    oklch(55.7% 0.259 320.9)

  8. Step 700

    700

    #9700AE

    oklch(49% 0.234 320.9)

  9. Step 800

    800

    #7C078F

    oklch(42.7% 0.2 320.8)

  10. Step 900

    900

    #641772

    oklch(37.7% 0.155 320.9)

  11. Step 950

    950

    #3B1043

    oklch(27% 0.099 321)

Export this scale for Tailwind in the Tailwind colors tool

#DC7CEF 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)#6A9BF30.172
Deuteranopia (no green cones)#86A5EC0.153
Tritanopia (no blue cones)#DE8BAB0.115
Achromatopsia (no color)#A1A1A10.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7CEF

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  • #5DC44B

    #5DC44B

    oklch(73.3% 0.186 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7CEF

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  • #AA96FF

    #AA96FF

    oklch(73.4% 0.15 291)

  • #FC70B7

    #FC70B7

    oklch(73.4% 0.186 351)

Open the analogous palette in the generator

Split complementary

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

  • #DC7CEF

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  • #AEB100

    #AEB100

    oklch(73.3% 0.161 111)

  • #00C59C

    #00C59C

    oklch(73.3% 0.144 170.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7CEF

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  • #D99C00

    #D99C00

    oklch(73.2% 0.151 80.5)

  • #00BFC8

    #00BFC8

    oklch(73.2% 0.124 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7CEF

    #DC7CEF

    oklch(73.3% 0.187 320.8)

  • #FF8020

    #FF8020

    oklch(73.3% 0.182 50.8)

  • #5DC44B

    #5DC44B

    oklch(73.3% 0.186 140.8)

  • #00B8F4

    #00B8F4

    oklch(73.4% 0.148 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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