#E366F8#E366F8

#E366F8 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.231 H 321.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#E366F8
RGBrgb(227, 102, 248)
HSLhsl(291, 91%, 69%)
HSVhsv(291, 59%, 97%)
CMYKcmyk(8.5%, 58.9%, 0%, 2.7%)
CIE-LABlab(63.85, 68.34, -51.60)
CIE-LCHlch(63.85, 85.63, 322.95°)
OKLaboklab(71.74% 0.1815 -0.1435)
OKLCHoklch(71.74% 0.231 321.7)
XYZxyz(53.3713, 32.6136, 92.2725)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E366F8 #7BF866
analogous
#9A66F8 #E366F8 #F866C4
triadic
#E366F8 #F8E366 #66F8E3
tetradic
#E366F8 #F89A66 #7BF866 #66C4F8
square
#E366F8 #F89A66 #7BF866 #66C4F8
split-complementary
#E366F8 #C4F866 #66F89A
monochromatic
#BC0ADA #D82BF5 #E366F8 #EEA1FB #F8DBFD

Accessibility & contrast

On white

2.79
#E366F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#E366F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E366F8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E366F8#FFFFFF#000000##000000
##E366F81.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#E57CA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e366f8;
/* rgb */ color: rgb(227, 102, 248);
/* oklch */ color: oklch(71.7% 0.231 321.7);
Tailwind
colors: {
  custom: {
    50: '#ef98fb',
    500: '#e366f8',
    950: '#000000',
  },
}
SCSS
$custom: #e366f8;
$custom-light: #ef98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e366f8",
  "rgb": {
    "r": 227,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 291.37,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.23136,
    "h": 321.7
  },
  "luminance": 0.32611
}

Semantic roles & 50–950 ramp

primary
#E366F8
secondary
#CDF3C7
accent
#E60021
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E366F8

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

Preview Lab → · Contrast checker → · Palette generator →

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