#DC7EF3

Closest named color: Violet (#EE82EE). oklch(73.8% 0.187 319.5), rgb(220, 126, 243).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.187)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.32:1
White text2.52:1

Values

HEX#DC7EF3
RGBrgb(220, 126, 243)
HSLhsl(288, 83%, 72%)
OKLCHoklch(73.8% 0.187 319.5)

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 #DC7EF3 2.52:1 Fails Lc -54.2 Large or bold text, headings
Black text on #DC7EF3 8.32:1 AAA Lc 54.9 Large or bold text, headings
#DC7EF3 text on white 2.52:1 Fails Lc 49.1 Large or bold text, headings
#DC7EF3 text on black 8.32:1 AAA Lc -52.8 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E2A8F0

    oklch(80.9% 0.117 319.7)

  5. Step 400

    400 (this color)

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  6. Step 500

    500

    #C446E1

    oklch(63% 0.239 319.5)

  7. Step 600

    600

    #B011CF

    oklch(55.6% 0.26 319.5)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7B0891

    oklch(42.8% 0.2 319.7)

  10. Step 900

    900

    #631774

    oklch(37.7% 0.157 319.4)

  11. Step 950

    950

    #3A1144

    oklch(27.1% 0.098 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DC7EF3 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)#6A9DF70.170
Deuteranopia (no green cones)#86A6F00.151
Tritanopia (no blue cones)#DD8EAD0.119
Achromatopsia (no color)#A3A3A30.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7EF3

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  • #63C548

    #63C548

    oklch(73.8% 0.187 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7EF3

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  • #A999FF

    #A999FF

    oklch(73.8% 0.145 289.6)

  • #FD71BC

    #FD71BC

    oklch(73.8% 0.188 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #DC7EF3

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  • #B2B100

    #B2B100

    oklch(73.7% 0.16 109.4)

  • #00C79B

    #00C79B

    oklch(73.8% 0.147 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7EF3

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  • #DD9D00

    #DD9D00

    oklch(73.9% 0.153 79.4)

  • #00C1C8

    #00C1C8

    oklch(73.7% 0.125 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7EF3

    #DC7EF3

    oklch(73.8% 0.187 319.5)

  • #FF8331

    #FF8331

    oklch(73.8% 0.175 49.6)

  • #63C548

    #63C548

    oklch(73.8% 0.187 139.5)

  • #00BAF3

    #00BAF3

    oklch(73.8% 0.146 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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