#DC7FE4#DC7FE4

#DC7FE4 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.171 H 324.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE4
RGBrgb(220, 127, 228)
HSLhsl(295, 65%, 70%)
HSVhsv(295, 44%, 89%)
CMYKcmyk(3.5%, 44.3%, 0%, 10.6%)
CIE-LABlab(66.52, 50.90, -36.41)
CIE-LCHlch(66.52, 62.58, 324.43°)
OKLaboklab(73.22% 0.1387 -0.0999)
OKLCHoklch(73.22% 0.171 324.2)
XYZxyz(51.1068, 35.9981, 77.6400)
Luminance0.3600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE4 #87E47F
analogous
#AA7FE4 #DC7FE4 #E47FB9
triadic
#DC7FE4 #E4DC7F #7FE4DC
tetradic
#DC7FE4 #E4AA7F #87E47F #7FB9E4
square
#DC7FE4 #E4AA7F #87E47F #7FB9E4
split-complementary
#DC7FE4 #B9E47F #7FE4AA
monochromatic
#B429C0 #CE4CD9 #DC7FE4 #EAB2EF #F8E4F9

Accessibility & contrast

On white

2.56
#DC7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DC7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE4#FFFFFF#000000##000000
##DC7FE41.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#8EA6E1
Tritanopia (blue-blind)
#E08AA7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7fe4;
/* rgb */ color: rgb(220, 127, 228);
/* oklch */ color: oklch(73.2% 0.171 324.2);
Tailwind
colors: {
  custom: {
    50: '#e9a7ed',
    500: '#dc7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe4;
$custom-light: #e9a7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe4",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 295.248,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73222,
    "c": 0.17094,
    "h": 324.2
  },
  "luminance": 0.35996
}

Semantic roles & 50–950 ramp

primary
#DC7FE4
secondary
#D3EED1
accent
#CD1927
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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