#DC7FEB

Closest named color: Violet (#EE82EE). oklch(73.5% 0.178 321.9), rgb(220, 127, 235).

Aa

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

About this color

#DC7FEB is a medium-light, vivid purple. In OKLCH its lightness is 74%, 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.032 away. Black text reads best on it, at 8.27:1.

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

Values

HEX#DC7FEB
RGBrgb(220, 127, 235)
HSLhsl(292, 73%, 71%)
OKLCHoklch(73.5% 0.178 321.9)

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 #DC7FEB 2.53:1 Fails Lc -54.5 Large or bold text, headings
Black text on #DC7FEB 8.27:1 AAA Lc 54.6 Large or bold text, headings
#DC7FEB text on white 2.53:1 Fails Lc 49.4 Large or bold text, headings
#DC7FEB text on black 8.27: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

    #E2A9EB

    oklch(80.9% 0.11 321.8)

  5. Step 400

    400 (this color)

    #DC7FEB

    oklch(73.5% 0.178 321.9)

  6. Step 500

    500

    #C54AD9

    oklch(63.1% 0.228 321.8)

  7. Step 600

    600

    #B01EC6

    oklch(55.5% 0.247 321.7)

  8. Step 700

    700

    #9707AB

    oklch(49% 0.23 321.7)

  9. Step 800

    800

    #7B118A

    oklch(42.6% 0.19 322.1)

  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

#DC7FEB 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)#709CEF0.164
Deuteranopia (no green cones)#8AA6E80.147
Tritanopia (no blue cones)#DE8CAA0.109
Achromatopsia (no color)#A3A3A30.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7FEB

    #DC7FEB

    oklch(73.5% 0.178 321.9)

  • #5FC455

    #5FC455

    oklch(73.5% 0.177 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7FEB

    #DC7FEB

    oklch(73.5% 0.178 321.9)

  • #AC96FF

    #AC96FF

    oklch(73.5% 0.15 291.9)

  • #FA74B5

    #FA74B5

    oklch(73.6% 0.177 352)

Open the analogous palette in the generator

Split complementary

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

  • #DC7FEB

    #DC7FEB

    oklch(73.5% 0.178 321.9)

  • #ADB200

    #ADB200

    oklch(73.5% 0.162 111.8)

  • #00C69F

    #00C69F

    oklch(73.6% 0.143 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7FEB

    #DC7FEB

    oklch(73.5% 0.178 321.9)

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

  • #DC7FEB

    #DC7FEB

    oklch(73.5% 0.178 321.9)

  • #FE8323

    #FE8323

    oklch(73.6% 0.178 51.9)

  • #5FC455

    #5FC455

    oklch(73.5% 0.177 141.9)

  • #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 #DC7FEB, closest first.

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

Similar named colors

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

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