#E266E7#E266E7

#E266E7 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.7% C 0.216 H 326.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#E266E7
RGBrgb(226, 102, 231)
HSLhsl(298, 73%, 65%)
HSVhsv(298, 56%, 91%)
CMYKcmyk(2.2%, 55.8%, 0%, 9.4%)
CIE-LABlab(62.88, 65.07, -43.71)
CIE-LCHlch(62.88, 78.39, 326.11°)
OKLaboklab(70.74% 0.1792 -0.1206)
OKLCHoklch(70.74% 0.216 326)
XYZxyz(50.5382, 31.4439, 78.9931)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E266E7 #6BE766
analogous
#A166E7 #E266E7 #E766AC
triadic
#E266E7 #E7E266 #66E7E2
tetradic
#E266E7 #E7A166 #6BE766 #66ACE7
square
#E266E7 #E7A166 #6BE766 #66ACE7
split-complementary
#E266E7 #ACE766 #66E7A1
monochromatic
#B01DB6 #D831DF #E266E7 #EC9BEF #F6D0F8

Accessibility & contrast

On white

2.88
#E266E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#E266E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E266E7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E266E7#FFFFFF#000000##000000
##E266E71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#7F9EE3
Tritanopia (blue-blind)
#E7769D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e266e7;
/* rgb */ color: rgb(226, 102, 231);
/* oklch */ color: oklch(70.7% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#ee98ef',
    500: '#e266e7',
    950: '#000000',
  },
}
SCSS
$custom: #e266e7;
$custom-light: #ee98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e266e7",
  "rgb": {
    "r": 226,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 297.674,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.21598,
    "h": 326
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#E266E7
secondary
#C0EABF
accent
#D51118
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E266E7

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

Preview Lab → · Contrast checker → · Palette generator →

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