#E37AFB#E37AFB

#E37AFB is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.4% C 0.205 H 319.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#E37AFB
RGBrgb(227, 122, 251)
HSLhsl(289, 94%, 73%)
HSVhsv(289, 51%, 98%)
CMYKcmyk(9.6%, 51.4%, 0%, 1.6%)
CIE-LABlab(67.44, 59.63, -47.57)
CIE-LCHlch(67.44, 76.28, 321.42°)
OKLaboklab(74.42% 0.1567 -0.1319)
OKLCHoklch(74.42% 0.205 319.9)
XYZxyz(56.0485, 37.2173, 95.4794)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E37AFB #92FB7A
analogous
#A27AFB #E37AFB #FB7AD3
triadic
#E37AFB #FBE37A #7AFBE3
tetradic
#E37AFB #FBA27A #92FB7A #7AD3FB
square
#E37AFB #FBA27A #92FB7A #7AD3FB
split-complementary
#E37AFB #D3FB7A #7AFBA2
monochromatic
#C707F3 #D63FF9 #E37AFB #F0B5FD #F9E1FE

Accessibility & contrast

On white

2.49
#E37AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#E37AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E37AFB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E37AFB#FFFFFF#000000##000000
##E37AFB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#E48CAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e37afb;
/* rgb */ color: rgb(227, 122, 251);
/* oklch */ color: oklch(74.4% 0.205 319.9);
Tailwind
colors: {
  custom: {
    50: '#eea4fd',
    500: '#e37afb',
    950: '#000000',
  },
}
SCSS
$custom: #e37afb;
$custom-light: #eea4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e37afb",
  "rgb": {
    "r": 227,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 288.837,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.20484,
    "h": 319.9
  },
  "luminance": 0.37215
}

Semantic roles & 50–950 ramp

primary
#E37AFB
secondary
#DBF6D5
accent
#E6002B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E37AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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