#DC7FE1#DC7FE1

#DC7FE1 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.168 H 325.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE1
RGBrgb(220, 127, 225)
HSLhsl(297, 62%, 69%)
HSVhsv(297, 44%, 88%)
CMYKcmyk(2.2%, 43.6%, 0%, 11.8%)
CIE-LABlab(66.39, 50.35, -34.94)
CIE-LCHlch(66.39, 61.28, 325.24°)
OKLaboklab(73.09% 0.1381 -0.0958)
OKLCHoklch(73.09% 0.168 325.3)
XYZxyz(50.6940, 35.8330, 75.4657)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE1 #84E17F
analogous
#AB7FE1 #DC7FE1 #E17FB5
triadic
#DC7FE1 #E1DC7F #7FE1DC
tetradic
#DC7FE1 #E1AB7F #84E17F #7FB5E1
square
#DC7FE1 #E1AB7F #84E17F #7FB5E1
split-complementary
#DC7FE1 #B5E17F #7FE1AB
monochromatic
#B32CBA #CE4DD5 #DC7FE1 #EAB1ED #F7E2F8

Accessibility & contrast

On white

2.57
#DC7FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DC7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE1
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE1#FFFFFF#000000##000000
##DC7FE11.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE4
Deuteranopia (green-blind)
#8FA6DE
Tritanopia (blue-blind)
#E08AA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fe1;
/* rgb */ color: rgb(220, 127, 225);
/* oklch */ color: oklch(73.1% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#e9a6ea',
    500: '#dc7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe1;
$custom-light: #e9a6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe1",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 296.939,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.16807,
    "h": 325.3
  },
  "luminance": 0.35831
}

Semantic roles & 50–950 ramp

primary
#DC7FE1
secondary
#D1ECD0
accent
#CA1C25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DC7FE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva