#DC7EFB

Closest named color: Violet (#EE82EE). oklch(74.2% 0.195 317.2), rgb(220, 126, 251).

Aa

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

About this color

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

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

Values

HEX#DC7EFB
RGBrgb(220, 126, 251)
HSLhsl(285, 94%, 74%)
OKLCHoklch(74.2% 0.195 317.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 #DC7EFB 2.49:1 Fails Lc -53.6 Large or bold text, headings
Black text on #DC7EFB 8.42:1 AAA Lc 55.4 Large or bold text, headings
#DC7EFB text on white 2.49:1 Fails Lc 48.6 Large or bold text, headings
#DC7EFB text on black 8.42:1 AAA Lc -53.4 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

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300

    #E1A7F5

    oklch(80.9% 0.123 317.2)

  5. Step 400

    400 (this color)

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  6. Step 500

    500

    #C343E9

    oklch(63.1% 0.249 317.3)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #7A0097

    oklch(42.8% 0.208 317.3)

  10. Step 900

    900

    #621478

    oklch(37.6% 0.163 317.3)

  11. Step 950

    950

    #3A0F46

    oklch(27% 0.103 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#DC7EFB 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)#82A7F80.155
Tritanopia (no blue cones)#DB90B10.127
Achromatopsia (no color)#A4A4A40.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC7EFB

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  • #69C63A

    #69C63A

    oklch(74.2% 0.195 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC7EFB

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  • #A69CFF

    #A69CFF

    oklch(74.1% 0.141 287.1)

  • #FF70C2

    #FF70C2

    oklch(74.2% 0.194 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #DC7EFB

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  • #B7B100

    #B7B100

    oklch(74.1% 0.159 107.3)

  • #00C997

    #00C997

    oklch(74.2% 0.152 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC7EFB

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  • #E19C00

    #E19C00

    oklch(74.1% 0.155 77.1)

  • #00C3C7

    #00C3C7

    oklch(74.1% 0.126 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC7EFB

    #DC7EFB

    oklch(74.2% 0.195 317.2)

  • #FF8540

    #FF8540

    oklch(74.2% 0.169 47.4)

  • #69C63A

    #69C63A

    oklch(74.2% 0.195 137.2)

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

Similar named colors

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

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