#DC7FE2#DC7FE2

#DC7FE2 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.1% C 0.169 H 324.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE2
RGBrgb(220, 127, 226)
HSLhsl(296, 63%, 69%)
HSVhsv(296, 44%, 89%)
CMYKcmyk(2.7%, 43.8%, 0%, 11.4%)
CIE-LABlab(66.43, 50.53, -35.43)
CIE-LCHlch(66.43, 61.71, 324.96°)
OKLaboklab(73.13% 0.1383 -0.0972)
OKLCHoklch(73.13% 0.169 324.9)
XYZxyz(50.8308, 35.8877, 76.1863)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE2 #85E27F
analogous
#AB7FE2 #DC7FE2 #E27FB7
triadic
#DC7FE2 #E2DC7F #7FE2DC
tetradic
#DC7FE2 #E2AB7F #85E27F #7FB7E2
square
#DC7FE2 #E2AB7F #85E27F #7FB7E2
split-complementary
#DC7FE2 #B7E27F #7FE2AB
monochromatic
#B32BBC #CE4DD7 #DC7FE2 #EAB1ED #F7E3F9

Accessibility & contrast

On white

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

On black

8.18
#DC7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE2#FFFFFF#000000##000000
##DC7FE21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#8EA6DF
Tritanopia (blue-blind)
#E08AA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fe2;
/* rgb */ color: rgb(220, 127, 226);
/* oklch */ color: oklch(73.1% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#e9a7eb',
    500: '#dc7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe2;
$custom-light: #e9a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe2",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 296.364,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73131,
    "c": 0.16902,
    "h": 324.9
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#DC7FE2
secondary
#D2EDD0
accent
#CB1B25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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