#E266DC#E266DC

#E266DC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.207 H 329.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#E266DC
RGBrgb(226, 102, 220)
HSLhsl(303, 68%, 64%)
HSVhsv(303, 55%, 89%)
CMYKcmyk(0%, 54.9%, 2.7%, 11.4%)
CIE-LABlab(62.37, 63.19, -38.36)
CIE-LCHlch(62.37, 73.92, 328.74°)
OKLaboklab(70.2% 0.1779 -0.1052)
OKLCHoklch(70.2% 0.207 329.4)
XYZxyz(49.0332, 30.8419, 71.0667)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E266DC #66E26C
analogous
#AA66E2 #E266DC #E2669E
triadic
#E266DC #DCE266 #66DCE2
tetradic
#E266DC #E2AA66 #66E26C #669EE2
square
#E266DC #E2AA66 #66E26C #669EE2
split-complementary
#E266DC #9EE266 #66E2AA
monochromatic
#AD21A6 #D833D0 #E266DC #EC99E8 #F6CDF4

Accessibility & contrast

On white

2.93
#E266DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#E266DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E266DC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E266DC#FFFFFF#000000##000000
##E266DC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#E97298
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e266dc;
/* rgb */ color: rgb(226, 102, 220);
/* oklch */ color: oklch(70.2% 0.207 329.4);
Tailwind
colors: {
  custom: {
    50: '#ee97e7',
    500: '#e266dc',
    950: '#000000',
  },
}
SCSS
$custom: #e266dc;
$custom-light: #ee97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e266dc",
  "rgb": {
    "r": 226,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 302.903,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70203,
    "c": 0.20671,
    "h": 329.4
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#E266DC
secondary
#BCE7BE
accent
#D01E15
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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