#D266EA#D266EA

#D266EA is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 68.9% C 0.211 H 320.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D266EA
RGBrgb(210, 102, 234)
HSLhsl(289, 76%, 66%)
HSVhsv(289, 56%, 92%)
CMYKcmyk(10.3%, 56.4%, 0%, 8.2%)
CIE-LABlab(60.91, 61.56, -48.63)
CIE-LCHlch(60.91, 78.45, 321.69°)
OKLaboklab(68.91% 0.1614 -0.1353)
OKLCHoklch(68.91% 0.211 320)
XYZxyz(46.1792, 29.1469, 81.0194)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266EA #7EEA66
analogous
#9066EA #D266EA #EA66C0
triadic
#D266EA #EAD266 #66EAD2
tetradic
#D266EA #EA9066 #7EEA66 #66C0EA
square
#D266EA #EA9066 #7EEA66 #66C0EA
split-complementary
#D266EA #C0EA66 #66EA90
monochromatic
#9E1ABC #C230E3 #D266EA #E29CF1 #F2D2F9

Accessibility & contrast

On white

3.08
#D266EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D266EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266EA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266EA#FFFFFF#000000##000000
##D266EA1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#D37A9F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d266ea;
/* rgb */ color: rgb(210, 102, 234);
/* oklch */ color: oklch(68.9% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#e397f1',
    500: '#d266ea',
    950: '#000000',
  },
}
SCSS
$custom: #d266ea;
$custom-light: #e397f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d266ea",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 289.091,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.21057,
    "h": 320
  },
  "luminance": 0.29145
}

Semantic roles & 50–950 ramp

primary
#D266EA
secondary
#C8ECC0
accent
#D80D32
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266EA

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

Preview Lab → · Contrast checker → · Palette generator →

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