#DC4FE2#DC4FE2

#DC4FE2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.2% C 0.240 H 326.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#DC4FE2
RGBrgb(220, 79, 226)
HSLhsl(298, 72%, 60%)
HSVhsv(298, 65%, 89%)
CMYKcmyk(2.7%, 65%, 0%, 11.4%)
CIE-LABlab(58.32, 72.32, -48.16)
CIE-LCHlch(58.32, 86.89, 326.34°)
OKLaboklab(67.18% 0.199 -0.1335)
OKLCHoklch(67.18% 0.24 326.1)
XYZxyz(46.0377, 26.3015, 74.5886)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4FE2 #55E24F
analogous
#934FE2 #DC4FE2 #E24F9F
triadic
#DC4FE2 #E2DC4F #4FE2DC
tetradic
#DC4FE2 #E2934F #55E24F #4F9FE2
square
#DC4FE2 #E2934F #55E24F #4F9FE2
split-complementary
#DC4FE2 #9FE24F #4FE293
monochromatic
#971A9D #CA22D1 #DC4FE2 #E684EB #F1B8F3

Accessibility & contrast

On white

3.35
#DC4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#DC4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4FE2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4FE2#FFFFFF#000000##000000
##DC4FE21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#6E92DE
Tritanopia (blue-blind)
#E16592
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc4fe2;
/* rgb */ color: rgb(220, 79, 226);
/* oklch */ color: oklch(67.2% 0.240 326.1);
Tailwind
colors: {
  custom: {
    50: '#ea8beb',
    500: '#dc4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #dc4fe2;
$custom-light: #ea8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4fe2",
  "rgb": {
    "r": 220,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 297.551,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67176,
    "c": 0.23963,
    "h": 326.1
  },
  "luminance": 0.26299
}

Semantic roles & 50–950 ramp

primary
#DC4FE2
secondary
#ACE3AA
accent
#EE3941
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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