#E238DB#E238DB

#E238DB is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.7% C 0.262 H 329.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#E238DB
RGBrgb(226, 56, 219)
HSLhsl(302, 75%, 55%)
HSVhsv(302, 75%, 89%)
CMYKcmyk(0%, 75.2%, 3.1%, 11.4%)
CIE-LABlab(56.20, 80.10, -47.51)
CIE-LCHlch(56.20, 93.13, 329.32°)
OKLaboklab(65.72% 0.2266 -0.1313)
OKLCHoklch(65.72% 0.262 329.9)
XYZxyz(45.5642, 24.1152, 69.2590)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E238DB #38E23F
analogous
#9438E2 #E238DB #E23886
triadic
#E238DB #DBE238 #38DBE2
tetradic
#E238DB #E29438 #38E23F #3886E2
square
#E238DB #E29438 #38E23F #3886E2
split-complementary
#E238DB #86E238 #38E294
monochromatic
#8B1486 #C11CBA #E238DB #EA6DE5 #F2A3EE

Accessibility & contrast

On white

3.61
#E238DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#E238DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E238DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E238DB#FFFFFF#000000##000000
##E238DB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#EA5188
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #e238db;
/* rgb */ color: rgb(226, 56, 219);
/* oklch */ color: oklch(65.7% 0.262 329.9);
Tailwind
colors: {
  custom: {
    50: '#ef81e7',
    500: '#e238db',
    950: '#000000',
  },
}
SCSS
$custom: #e238db;
$custom-light: #ef81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e238db",
  "rgb": {
    "r": 226,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 302.471,
    "s": 74.561,
    "l": 55.294
  },
  "oklch": {
    "l": 0.65717,
    "c": 0.26193,
    "h": 329.9
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#E238DB
secondary
#97DE9A
accent
#F13E37
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E238DB

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

Preview Lab → · Contrast checker → · Palette generator →

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