#E266F7#E266F7

#E266F7 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.6% C 0.230 H 321.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#E266F7
RGBrgb(226, 102, 247)
HSLhsl(291, 90%, 68%)
HSVhsv(291, 59%, 97%)
CMYKcmyk(8.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(63.66, 67.91, -51.34)
CIE-LCHlch(63.66, 85.14, 322.91°)
OKLaboklab(71.57% 0.1803 -0.1428)
OKLCHoklch(71.57% 0.23 321.6)
XYZxyz(52.9021, 32.3895, 91.4429)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E266F7 #7BF766
analogous
#9966F7 #E266F7 #F766C4
triadic
#E266F7 #F7E266 #66F7E2
tetradic
#E266F7 #F79966 #7BF766 #66C4F7
square
#E266F7 #F79966 #7BF766 #66C4F7
split-complementary
#E266F7 #C4F766 #66F799
monochromatic
#BA0BD7 #D72CF4 #E266F7 #EDA0FA #F8DAFD

Accessibility & contrast

On white

2.81
#E266F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#E266F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E266F7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E266F7#FFFFFF#000000##000000
##E266F71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#E47CA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e266f7;
/* rgb */ color: rgb(226, 102, 247);
/* oklch */ color: oklch(71.6% 0.230 321.6);
Tailwind
colors: {
  custom: {
    50: '#ee98fa',
    500: '#e266f7',
    950: '#000000',
  },
}
SCSS
$custom: #e266f7;
$custom-light: #ee98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e266f7",
  "rgb": {
    "r": 226,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 291.31,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71565,
    "c": 0.23,
    "h": 321.6
  },
  "luminance": 0.32387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E266F7

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

Preview Lab → · Contrast checker → · Palette generator →

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