#DE2FE2#DE2FE2

#DE2FE2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 65.0% C 0.273 H 327.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#DE2FE2
RGBrgb(222, 47, 226)
HSLhsl(299, 76%, 54%)
HSVhsv(299, 79%, 89%)
CMYKcmyk(1.8%, 79.2%, 0%, 11.4%)
CIE-LABlab(55.13, 82.72, -53.22)
CIE-LCHlch(55.13, 98.36, 327.24°)
OKLaboklab(64.95% 0.2291 -0.148)
OKLCHoklch(64.95% 0.273 327.1)
XYZxyz(44.8675, 23.0569, 74.0240)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE2FE2 #33E22F
analogous
#842FE2 #DE2FE2 #E22F8C
triadic
#DE2FE2 #E2DE2F #2FE2DE
tetradic
#DE2FE2 #E2842F #33E22F #2F8CE2
square
#DE2FE2 #E2842F #33E22F #2F8CE2
split-complementary
#DE2FE2 #8CE22F #2FE284
monochromatic
#821284 #B61ABA #DE2FE2 #E765E9 #EF9AF1

Accessibility & contrast

On white

3.74
#DE2FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#DE2FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE2FE2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE2FE2#FFFFFF#000000##000000
##DE2FE21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#618BDE
Tritanopia (blue-blind)
#E4518A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #de2fe2;
/* rgb */ color: rgb(222, 47, 226);
/* oklch */ color: oklch(65.0% 0.273 327.1);
Tailwind
colors: {
  custom: {
    50: '#ed7dec',
    500: '#de2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #de2fe2;
$custom-light: #ed7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#de2fe2",
  "rgb": {
    "r": 222,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 298.659,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.27268,
    "h": 327.1
  },
  "luminance": 0.23054
}

Semantic roles & 50–950 ramp

primary
#DE2FE2
secondary
#92DD90
accent
#F2363A
background
#FFF8FE
surface
#FEEFFD
border
#D6CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #DE2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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