#E372EC#E372EC

#E372EC is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.6% C 0.203 H 324.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#E372EC
RGBrgb(227, 114, 236)
HSLhsl(296, 76%, 69%)
HSVhsv(296, 52%, 93%)
CMYKcmyk(3.8%, 51.7%, 0%, 7.5%)
CIE-LABlab(65.30, 60.69, -42.68)
CIE-LCHlch(65.30, 74.20, 324.89°)
OKLaboklab(72.62% 0.1655 -0.1177)
OKLCHoklch(72.62% 0.203 324.6)
XYZxyz(52.8349, 34.4243, 83.2022)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E372EC #7BEC72
analogous
#A672EC #E372EC #EC72B8
triadic
#E372EC #ECE372 #72ECE3
tetradic
#E372EC #ECA672 #7BEC72 #72B8EC
square
#E372EC #ECA672 #7BEC72 #72B8EC
split-complementary
#E372EC #B8EC72 #72ECA6
monochromatic
#BC1BC9 #D83CE5 #E372EC #EEA8F3 #F8DEFB

Accessibility & contrast

On white

2.66
#E372EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#E372EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E372EC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E372EC#FFFFFF#000000##000000
##E372EC1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#E781A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e372ec;
/* rgb */ color: rgb(227, 114, 236);
/* oklch */ color: oklch(72.6% 0.203 324.6);
Tailwind
colors: {
  custom: {
    50: '#ee9ff2',
    500: '#e372ec',
    950: '#000000',
  },
}
SCSS
$custom: #e372ec;
$custom-light: #ee9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#e372ec",
  "rgb": {
    "r": 227,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 295.574,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.20307,
    "h": 324.6
  },
  "luminance": 0.34422
}

Semantic roles & 50–950 ramp

primary
#E372EC
secondary
#CDEFCB
accent
#D80D1C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E372EC

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

Preview Lab → · Contrast checker → · Palette generator →

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