#E366FB#E366FB

#E366FB is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.9% C 0.234 H 320.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#E366FB
RGBrgb(227, 102, 251)
HSLhsl(290, 95%, 69%)
HSVhsv(290, 59%, 98%)
CMYKcmyk(9.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(64.00, 68.88, -53.01)
CIE-LCHlch(64.00, 86.92, 322.42°)
OKLaboklab(71.9% 0.1816 -0.1476)
OKLCHoklch(71.9% 0.234 320.9)
XYZxyz(53.8405, 32.8012, 94.7433)
Luminance0.3280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E366FB #7EFB66
analogous
#9966FB #E366FB #FB66C8
triadic
#E366FB #FBE366 #66FBE3
tetradic
#E366FB #FB9966 #7EFB66 #66C8FB
square
#E366FB #FB9966 #7EFB66 #66C8FB
split-complementary
#E366FB #C8FB66 #66FB99
monochromatic
#BD06E1 #D82AF9 #E366FB #EEA2FD #F9DDFE

Accessibility & contrast

On white

2.78
#E366FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#E366FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E366FB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E366FB#FFFFFF#000000##000000
##E366FB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#E57DA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e366fb;
/* rgb */ color: rgb(227, 102, 251);
/* oklch */ color: oklch(71.9% 0.234 320.9);
Tailwind
colors: {
  custom: {
    50: '#ef98fd',
    500: '#e366fb',
    950: '#000000',
  },
}
SCSS
$custom: #e366fb;
$custom-light: #ef98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e366fb",
  "rgb": {
    "r": 227,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 290.336,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71903,
    "c": 0.23402,
    "h": 320.9
  },
  "luminance": 0.32799
}

Semantic roles & 50–950 ramp

primary
#E366FB
secondary
#D0F4C9
accent
#E60025
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #E366FB

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

Preview Lab → · Contrast checker → · Palette generator →

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