#DC7FEC

Closest named color: Violet (#EE82EE). oklch(73.6% 0.179 321.6), rgb(220, 127, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.179)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.29:1
White text2.53:1

Values

HEX#DC7FEC
RGBrgb(220, 127, 236)
HSLhsl(291, 74%, 71%)
OKLCHoklch(73.6% 0.179 321.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 #DC7FEC 2.53:1 Fails Lc -54.4 Large or bold text, headings
Black text on #DC7FEC 8.29:1 AAA Lc 54.7 Large or bold text, headings
#DC7FEC text on white 2.53:1 Fails Lc 49.3 Large or bold text, headings
#DC7FEC text on black 8.29:1 AAA Lc -52.6 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

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E2A8EC

    oklch(80.8% 0.112 321.4)

  5. Step 400

    400 (this color)

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  6. Step 500

    500

    #C54ADA

    oklch(63.1% 0.228 321.5)

  7. Step 600

    600

    #B01DC7

    oklch(55.5% 0.248 321.5)

  8. Step 700

    700

    #9706AC

    oklch(49.1% 0.231 321.4)

  9. Step 800

    800

    #7B118B

    oklch(42.7% 0.191 321.7)

  10. Step 900

    900

    #631A6F

    oklch(37.6% 0.149 321.6)

  11. Step 950

    950

    #3A1241

    oklch(27% 0.093 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#DC7FEC 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)#709CF00.164
Deuteranopia (no green cones)#8AA6E90.147
Tritanopia (no blue cones)#DE8DAB0.110
Achromatopsia (no color)#A3A3A30.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7FEC

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  • #60C453

    #60C453

    oklch(73.5% 0.178 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7FEC

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  • #AC97FF

    #AC97FF

    oklch(73.7% 0.148 291.6)

  • #FA74B6

    #FA74B6

    oklch(73.6% 0.178 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #DC7FEC

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  • #AEB200

    #AEB200

    oklch(73.6% 0.162 111.4)

  • #00C69E

    #00C69E

    oklch(73.6% 0.144 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7FEC

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  • #D99E00

    #D99E00

    oklch(73.6% 0.152 81.7)

  • #00C0CB

    #00C0CB

    oklch(73.5% 0.125 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7FEC

    #DC7FEC

    oklch(73.6% 0.179 321.6)

  • #FE8323

    #FE8323

    oklch(73.6% 0.178 51.9)

  • #60C453

    #60C453

    oklch(73.5% 0.178 141.4)

  • #00B8F6

    #00B8F6

    oklch(73.5% 0.149 231.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DC7FEC.

Similar named colors

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

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