#E231E2#E231E2

#E231E2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.7% C 0.273 H 328.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#E231E2
RGBrgb(226, 49, 226)
HSLhsl(300, 75%, 54%)
HSVhsv(300, 78%, 89%)
CMYKcmyk(0%, 78.3%, 0%, 11.4%)
CIE-LABlab(55.95, 82.98, -51.88)
CIE-LCHlch(55.95, 97.87, 327.99°)
OKLaboklab(65.66% 0.2317 -0.144)
OKLCHoklch(65.66% 0.273 328.1)
XYZxyz(46.1893, 23.8599, 74.1094)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E231E2 #31E231
analogous
#8A31E2 #E231E2 #E2318A
triadic
#E231E2 #E2E231 #31E2E2
tetradic
#E231E2 #E28A31 #31E231 #318AE2
square
#E231E2 #E28A31 #31E231 #318AE2
split-complementary
#E231E2 #8AE231 #31E28A
monochromatic
#861386 #BB1ABB #E231E2 #EA67EA #F19CF1

Accessibility & contrast

On white

3.64
#E231E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#E231E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E231E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E231E2#FFFFFF#000000##000000
##E231E21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#E9508A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e231e2;
/* rgb */ color: rgb(226, 49, 226);
/* oklch */ color: oklch(65.7% 0.273 328.1);
Tailwind
colors: {
  custom: {
    50: '#f07fec',
    500: '#e231e2',
    950: '#000000',
  },
}
SCSS
$custom: #e231e2;
$custom-light: #f07fec;
$custom-dark: #000000;
JSON
{
  "hex": "#e231e2",
  "rgb": {
    "r": 226,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.27277,
    "h": 328.1
  },
  "luminance": 0.23856
}

Semantic roles & 50–950 ramp

primary
#E231E2
secondary
#92DD92
accent
#F23636
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #E231E2

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

Preview Lab → · Contrast checker → · Palette generator →

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