#E266D3#E266D3

#E266D3 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.8% C 0.199 H 332.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#E266D3
RGBrgb(226, 102, 211)
HSLhsl(307, 68%, 64%)
HSVhsv(307, 55%, 89%)
CMYKcmyk(0%, 54.9%, 6.6%, 11.4%)
CIE-LABlab(61.98, 61.71, -33.92)
CIE-LCHlch(61.98, 70.41, 331.20°)
OKLaboklab(69.78% 0.1766 -0.0925)
OKLCHoklch(69.78% 0.199 332.3)
XYZxyz(47.8732, 30.3779, 64.9574)
Luminance0.3038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E266D3 #66E275
analogous
#B366E2 #E266D3 #E26695
triadic
#E266D3 #D3E266 #66D3E2
tetradic
#E266D3 #E2B366 #66E275 #6695E2
square
#E266D3 #E2B366 #66E275 #6695E2
split-complementary
#E266D3 #95E266 #66E2B3
monochromatic
#AD219C #D833C4 #E266D3 #EC99E2 #F6CDF1

Accessibility & contrast

On white

2.97
#E266D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#E266D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E266D3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E266D3#FFFFFF#000000##000000
##E266D31.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628BD6
Deuteranopia (green-blind)
#889CD0
Tritanopia (blue-blind)
#EB6F93
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e266d3;
/* rgb */ color: rgb(226, 102, 211);
/* oklch */ color: oklch(69.8% 0.199 332.3);
Tailwind
colors: {
  custom: {
    50: '#ee97e1',
    500: '#e266d3',
    950: '#000000',
  },
}
SCSS
$custom: #e266d3;
$custom-light: #ee97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e266d3",
  "rgb": {
    "r": 226,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 307.258,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.19938,
    "h": 332.3
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#E266D3
secondary
#BCE7C2
accent
#D02C15
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E266D3

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

Preview Lab → · Contrast checker → · Palette generator →

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