#E266FB#E266FB

#E266FB is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.8% C 0.234 H 320.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#E266FB
RGBrgb(226, 102, 251)
HSLhsl(290, 95%, 69%)
HSVhsv(290, 59%, 98%)
CMYKcmyk(10%, 59.4%, 0%, 1.6%)
CIE-LABlab(63.87, 68.64, -53.23)
CIE-LCHlch(63.87, 86.86, 322.21°)
OKLaboklab(71.78% 0.1805 -0.1482)
OKLCHoklch(71.78% 0.234 320.6)
XYZxyz(53.5259, 32.6390, 94.7286)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E266FB #7FFB66
analogous
#9866FB #E266FB #FB66CA
triadic
#E266FB #FBE266 #66FBE2
tetradic
#E266FB #FB9866 #7FFB66 #66CAFB
square
#E266FB #FB9866 #7FFB66 #66CAFB
split-complementary
#E266FB #CAFB66 #66FB98
monochromatic
#BC06E1 #D72AF9 #E266FB #EDA2FD #F9DDFE

Accessibility & contrast

On white

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

On black

7.53
#E266FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E266FB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E266FB#FFFFFF#000000##000000
##E266FB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#E47DA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e266fb;
/* rgb */ color: rgb(226, 102, 251);
/* oklch */ color: oklch(71.8% 0.234 320.6);
Tailwind
colors: {
  custom: {
    50: '#ee98fd',
    500: '#e266fb',
    950: '#000000',
  },
}
SCSS
$custom: #e266fb;
$custom-light: #ee98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e266fb",
  "rgb": {
    "r": 226,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 289.933,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.23356,
    "h": 320.6
  },
  "luminance": 0.32637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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