#DC2FE2#DC2FE2

#DC2FE2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.7% C 0.272 H 326.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DC2FE2
RGBrgb(220, 47, 226)
HSLhsl(298, 76%, 54%)
HSVhsv(298, 79%, 89%)
CMYKcmyk(2.7%, 79.2%, 0%, 11.4%)
CIE-LABlab(54.81, 82.35, -53.76)
CIE-LCHlch(54.81, 98.34, 326.86°)
OKLaboklab(64.66% 0.227 -0.1496)
OKLCHoklch(64.66% 0.272 326.6)
XYZxyz(44.2584, 22.7428, 73.9955)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC2FE2 #35E22F
analogous
#822FE2 #DC2FE2 #E22F8E
triadic
#DC2FE2 #E2DC2F #2FE2DC
tetradic
#DC2FE2 #E2822F #35E22F #2F8EE2
square
#DC2FE2 #E2822F #35E22F #2F8EE2
split-complementary
#DC2FE2 #8EE22F #2FE282
monochromatic
#801284 #B51ABA #DC2FE2 #E565E9 #EE9AF1

Accessibility & contrast

On white

3.79
#DC2FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DC2FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC2FE2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC2FE2#FFFFFF#000000##000000
##DC2FE21.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#5F8ADE
Tritanopia (blue-blind)
#E2518A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc2fe2;
/* rgb */ color: rgb(220, 47, 226);
/* oklch */ color: oklch(64.7% 0.272 326.6);
Tailwind
colors: {
  custom: {
    50: '#eb7dec',
    500: '#dc2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #dc2fe2;
$custom-light: #eb7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#dc2fe2",
  "rgb": {
    "r": 220,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 297.989,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.64662,
    "c": 0.27187,
    "h": 326.6
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#DC2FE2
secondary
#93DD90
accent
#F2363C
background
#FFF8FE
surface
#FEEFFD
border
#D6CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #DC2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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