#DC7EFC

Closest named color: Violet (#EE82EE). oklch(74.2% 0.196 317), rgb(220, 126, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.196)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.43:1
White text2.49:1

Values

HEX#DC7EFC
RGBrgb(220, 126, 252)
HSLhsl(285, 95%, 74%)
OKLCHoklch(74.2% 0.196 317)

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 #DC7EFC 2.49:1 Fails Lc -53.6 Large or bold text, headings
Black text on #DC7EFC 8.43:1 AAA Lc 55.5 Large or bold text, headings
#DC7EFC text on white 2.49:1 Fails Lc 48.5 Large or bold text, headings
#DC7EFC text on black 8.43:1 AAA Lc -53.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #ECCCF8

    oklch(88.6% 0.069 316.8)

  4. Step 300

    300

    #E1A7F5

    oklch(80.9% 0.123 317.2)

  5. Step 400

    400 (this color)

    #DC7EFC

    oklch(74.2% 0.196 317)

  6. Step 500

    500

    #C342EA

    oklch(63.1% 0.251 317.1)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #621479

    oklch(37.7% 0.164 316.8)

  11. Step 950

    950

    #3A0F47

    oklch(27% 0.104 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#DC7EFC 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)#659EFF0.175
Deuteranopia (no green cones)#81A7F90.156
Tritanopia (no blue cones)#DB91B20.128
Achromatopsia (no color)#A4A4A40.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7EFC

    #DC7EFC

    oklch(74.2% 0.196 317)

  • #69C638

    #69C638

    oklch(74.1% 0.196 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7EFC

    #DC7EFC

    oklch(74.2% 0.196 317)

  • #A69CFF

    #A69CFF

    oklch(74.1% 0.141 287.1)

  • #FF70C3

    #FF70C3

    oklch(74.2% 0.195 347)

Open the analogous palette in the generator

Split complementary

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

  • #DC7EFC

    #DC7EFC

    oklch(74.2% 0.196 317)

  • #B8B100

    #B8B100

    oklch(74.2% 0.159 106.8)

  • #00C997

    #00C997

    oklch(74.2% 0.152 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7EFC

    #DC7EFC

    oklch(74.2% 0.196 317)

  • #E29C00

    #E29C00

    oklch(74.2% 0.156 76.7)

  • #00C3C7

    #00C3C7

    oklch(74.1% 0.126 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7EFC

    #DC7EFC

    oklch(74.2% 0.196 317)

  • #FF8541

    #FF8541

    oklch(74.3% 0.169 47.2)

  • #69C638

    #69C638

    oklch(74.1% 0.196 137)

  • #00BCF1

    #00BCF1

    oklch(74.2% 0.143 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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