#DC7EEA

Closest named color: Violet (#EE82EE). oklch(73.4% 0.178 322.3), rgb(220, 126, 234).

Aa

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

About this color

#DC7EEA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.178 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.21:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.178)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.21:1
White text2.55:1

Values

HEX#DC7EEA
RGBrgb(220, 126, 234)
HSLhsl(292, 72%, 71%)
OKLCHoklch(73.4% 0.178 322.3)

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 #DC7EEA 2.55:1 Fails Lc -54.8 Large or bold text, headings
Black text on #DC7EEA 8.21:1 AAA Lc 54.3 Large or bold text, headings
#DC7EEA text on white 2.55:1 Fails Lc 49.7 Large or bold text, headings
#DC7EEA text on black 8.21:1 AAA Lc -52.2 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

    #E3A8EB

    oklch(80.8% 0.112 322.4)

  5. Step 400

    400 (this color)

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  6. Step 500

    500

    #C64AD8

    oklch(63.2% 0.227 322.4)

  7. Step 600

    600

    #B11DC5

    oklch(55.6% 0.247 322.3)

  8. Step 700

    700

    #9805AB

    oklch(49.1% 0.231 322.1)

  9. Step 800

    800

    #7C108A

    oklch(42.8% 0.191 322.5)

  10. Step 900

    900

    #641A6F

    oklch(37.8% 0.149 322.2)

  11. Step 950

    950

    #3B1241

    oklch(27.1% 0.094 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#DC7EEA 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)#6F9BEE0.165
Deuteranopia (no green cones)#8AA6E70.148
Tritanopia (no blue cones)#DF8BA90.109
Achromatopsia (no color)#A2A2A20.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7EEA

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  • #5DC455

    #5DC455

    oklch(73.4% 0.178 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7EEA

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  • #AC95FF

    #AC95FF

    oklch(73.4% 0.151 292.2)

  • #FA73B4

    #FA73B4

    oklch(73.4% 0.178 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #DC7EEA

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  • #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.

  • #DC7EEA

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  • #D79E00

    #D79E00

    oklch(73.4% 0.151 82.6)

  • #00BFCB

    #00BFCB

    oklch(73.3% 0.125 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7EEA

    #DC7EEA

    oklch(73.4% 0.178 322.3)

  • #FD821F

    #FD821F

    oklch(73.3% 0.179 52.2)

  • #5DC455

    #5DC455

    oklch(73.4% 0.178 142.2)

  • #00B7F6

    #00B7F6

    oklch(73.2% 0.15 232.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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