#DC7FEA

Closest named color: Violet (#EE82EE). oklch(73.5% 0.177 322.2), rgb(220, 127, 234).

Aa

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

About this color

#DC7FEA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.177 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.033 away. Black text reads best on it, at 8.26:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.177)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.26:1
White text2.54:1

Values

HEX#DC7FEA
RGBrgb(220, 127, 234)
HSLhsl(292, 72%, 71%)
OKLCHoklch(73.5% 0.177 322.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 #DC7FEA 2.54:1 Fails Lc -54.5 Large or bold text, headings
Black text on #DC7FEA 8.26:1 AAA Lc 54.6 Large or bold text, headings
#DC7FEA text on white 2.54:1 Fails Lc 49.4 Large or bold text, headings
#DC7FEA text on black 8.26:1 AAA Lc -52.5 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E3A9EB

    oklch(81% 0.11 322.4)

  5. Step 400

    400 (this color)

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  6. Step 500

    500

    #C54BD8

    oklch(63.1% 0.226 322)

  7. Step 600

    600

    #B11FC5

    oklch(55.7% 0.246 322.3)

  8. Step 700

    700

    #9809AA

    oklch(49.2% 0.228 322.4)

  9. Step 800

    800

    #7B128A

    oklch(42.7% 0.189 322)

  10. Step 900

    900

    #631B6E

    oklch(37.6% 0.147 322)

  11. Step 950

    950

    #3A1241

    oklch(27% 0.093 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#DC7FEA 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)#719CEE0.163
Deuteranopia (no green cones)#8BA6E70.146
Tritanopia (no blue cones)#DF8CAA0.108
Achromatopsia (no color)#A2A2A20.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7FEA

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  • #5EC456

    #5EC456

    oklch(73.5% 0.177 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7FEA

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  • #AC96FF

    #AC96FF

    oklch(73.5% 0.15 291.9)

  • #FA74B4

    #FA74B4

    oklch(73.5% 0.177 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #DC7FEA

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  • #ACB200

    #ACB200

    oklch(73.4% 0.163 112.2)

  • #00C59F

    #00C59F

    oklch(73.4% 0.142 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7FEA

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  • #D89E00

    #D89E00

    oklch(73.5% 0.151 82.1)

  • #00C0CB

    #00C0CB

    oklch(73.5% 0.125 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7FEA

    #DC7FEA

    oklch(73.5% 0.177 322.2)

  • #FD8324

    #FD8324

    oklch(73.5% 0.177 52)

  • #5EC456

    #5EC456

    oklch(73.5% 0.177 142.2)

  • #00B8F7

    #00B8F7

    oklch(73.5% 0.15 232.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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