#DE2EC2#DE2EC2

#DE2EC2 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.2% C 0.252 H 335.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#DE2EC2
RGBrgb(222, 46, 194)
HSLhsl(310, 73%, 53%)
HSVhsv(310, 79%, 87%)
CMYKcmyk(0%, 79.3%, 12.6%, 12.9%)
CIE-LABlab(53.37, 78.31, -37.74)
CIE-LCHlch(53.37, 86.93, 334.27°)
OKLaboklab(63.15% 0.2298 -0.1031)
OKLCHoklch(63.15% 0.252 335.8)
XYZxyz(40.8395, 21.3825, 53.0049)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE2EC2 #2EDE4A
analogous
#A22EDE #DE2EC2 #DE2E6A
triadic
#DE2EC2 #C2DE2E #2EC2DE
tetradic
#DE2EC2 #DEA22E #2EDE4A #2E6ADE
square
#DE2EC2 #DEA22E #2EDE4A #2E6ADE
split-complementary
#DE2EC2 #6ADE2E #2EDEA2
monochromatic
#7E146D #B31C9B #DE2EC2 #E663D1 #EF98E1

Accessibility & contrast

On white

3.98
#DE2EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#DE2EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE2EC2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE2EC2#FFFFFF#000000##000000
##DE2EC21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#7289BE
Tritanopia (blue-blind)
#E93E78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #de2ec2;
/* rgb */ color: rgb(222, 46, 194);
/* oklch */ color: oklch(63.2% 0.252 335.8);
Tailwind
colors: {
  custom: {
    50: '#ed7cd5',
    500: '#de2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #de2ec2;
$custom-light: #ed7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#de2ec2",
  "rgb": {
    "r": 222,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 309.545,
    "s": 72.727,
    "l": 52.549
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.25185,
    "h": 335.8
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#DE2EC2
secondary
#8EDA9A
accent
#EF5538
background
#FFF8FD
surface
#FEEFFA
border
#D6CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DE2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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