#E12DE2#E12DE2

#E12DE2 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 65.3% C 0.275 H 327.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#E12DE2
RGBrgb(225, 45, 226)
HSLhsl(300, 76%, 53%)
HSVhsv(300, 80%, 89%)
CMYKcmyk(0.4%, 80.1%, 0%, 11.4%)
CIE-LABlab(55.46, 83.74, -52.67)
CIE-LCHlch(55.46, 98.92, 327.83°)
OKLaboklab(65.28% 0.2334 -0.1462)
OKLCHoklch(65.28% 0.275 327.9)
XYZxyz(45.7166, 23.3788, 74.0415)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E12DE2 #2EE22D
analogous
#872DE2 #E12DE2 #E22D88
triadic
#E12DE2 #E2E12D #2DE2E1
tetradic
#E12DE2 #E2872D #2EE22D #2D88E2
square
#E12DE2 #E2872D #2EE22D #2D88E2
split-complementary
#E12DE2 #88E22D #2DE287
monochromatic
#821283 #B719B8 #E12DE2 #E963E9 #F099F1

Accessibility & contrast

On white

3.70
#E12DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#E12DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E12DE2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E12DE2#FFFFFF#000000##000000
##E12DE21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#638DDE
Tritanopia (blue-blind)
#E84F8A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #e12de2;
/* rgb */ color: rgb(225, 45, 226);
/* oklch */ color: oklch(65.3% 0.275 327.9);
Tailwind
colors: {
  custom: {
    50: '#ef7dec',
    500: '#e12de2',
    950: '#000000',
  },
}
SCSS
$custom: #e12de2;
$custom-light: #ef7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#e12de2",
  "rgb": {
    "r": 225,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 299.669,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6528,
    "c": 0.2754,
    "h": 327.9
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#E12DE2
secondary
#8FDC8E
accent
#F23537
background
#FFF8FE
surface
#FFEFFD
border
#D7CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E12DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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