#E366F2#E366F2

#E366F2 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.4% C 0.226 H 323.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#E366F2
RGBrgb(227, 102, 242)
HSLhsl(294, 84%, 67%)
HSVhsv(294, 58%, 95%)
CMYKcmyk(6.2%, 57.9%, 0%, 5.1%)
CIE-LABlab(63.55, 67.26, -48.76)
CIE-LCHlch(63.55, 83.07, 324.06°)
OKLaboklab(71.43% 0.1812 -0.1352)
OKLCHoklch(71.43% 0.226 323.3)
XYZxyz(52.4554, 32.2472, 87.4485)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E366F2 #75F266
analogous
#9D66F2 #E366F2 #F266BB
triadic
#E366F2 #F2E366 #66F2E3
tetradic
#E366F2 #F29D66 #75F266 #66BBF2
square
#E366F2 #F29D66 #75F266 #66BBF2
split-complementary
#E366F2 #BBF266 #66F29D
monochromatic
#B811CC #D92EED #E366F2 #ED9EF7 #F8D7FC

Accessibility & contrast

On white

2.82
#E366F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#E366F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E366F2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E366F2#FFFFFF#000000##000000
##E366F21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#E77AA3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e366f2;
/* rgb */ color: rgb(227, 102, 242);
/* oklch */ color: oklch(71.4% 0.226 323.3);
Tailwind
colors: {
  custom: {
    50: '#ef98f7',
    500: '#e366f2',
    950: '#000000',
  },
}
SCSS
$custom: #e366f2;
$custom-light: #ef98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e366f2",
  "rgb": {
    "r": 227,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 293.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71426,
    "c": 0.22606,
    "h": 323.3
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#E366F2
secondary
#C9F0C4
accent
#E1051C
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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