#E370F2#E370F2

#E370F2 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.7% C 0.212 H 322.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#E370F2
RGBrgb(227, 112, 242)
HSLhsl(293, 83%, 69%)
HSVhsv(293, 54%, 95%)
CMYKcmyk(6.2%, 53.7%, 0%, 5.1%)
CIE-LABlab(65.23, 62.72, -46.11)
CIE-LCHlch(65.23, 77.84, 323.68°)
OKLaboklab(72.66% 0.1687 -0.1276)
OKLCHoklch(72.66% 0.212 322.9)
XYZxyz(53.4981, 34.3326, 87.7961)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E370F2 #7FF270
analogous
#A270F2 #E370F2 #F270C0
triadic
#E370F2 #F2E370 #70F2E3
tetradic
#E370F2 #F2A270 #7FF270 #70C0F2
square
#E370F2 #F2A270 #7FF270 #70C0F2
split-complementary
#E370F2 #C0F270 #70F2A2
monochromatic
#BE13D4 #D838ED #E370F2 #EEA8F7 #F9E0FC

Accessibility & contrast

On white

2.67
#E370F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#E370F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E370F2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E370F2#FFFFFF#000000##000000
##E370F21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#E682A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e370f2;
/* rgb */ color: rgb(227, 112, 242);
/* oklch */ color: oklch(72.7% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#ee9ef7',
    500: '#e370f2',
    950: '#000000',
  },
}
SCSS
$custom: #e370f2;
$custom-light: #ee9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e370f2",
  "rgb": {
    "r": 227,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 293.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72655,
    "c": 0.21154,
    "h": 322.9
  },
  "luminance": 0.3433
}

Semantic roles & 50–950 ramp

primary
#E370F2
secondary
#D0F2CC
accent
#E0061F
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E370F2

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

Preview Lab → · Contrast checker → · Palette generator →

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