#D266EC#D266EC

#D266EC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.0% C 0.212 H 319.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D266EC
RGBrgb(210, 102, 236)
HSLhsl(288, 78%, 66%)
HSVhsv(288, 57%, 93%)
CMYKcmyk(11%, 56.8%, 0%, 7.5%)
CIE-LABlab(61.01, 61.94, -49.58)
CIE-LCHlch(61.01, 79.34, 321.32°)
OKLaboklab(69.02% 0.1615 -0.138)
OKLCHoklch(69.02% 0.212 319.5)
XYZxyz(46.4681, 29.2625, 82.5411)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266EC #80EC66
analogous
#8F66EC #D266EC #EC66C3
triadic
#D266EC #ECD266 #66ECD2
tetradic
#D266EC #EC8F66 #80EC66 #66C3EC
square
#D266EC #EC8F66 #80EC66 #66C3EC
split-complementary
#D266EC #C3EC66 #66EC8F
monochromatic
#9F18C0 #C230E5 #D266EC #E29CF3 #F2D3FA

Accessibility & contrast

On white

3.06
#D266EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D266EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266EC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266EC#FFFFFF#000000##000000
##D266EC1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#D37BA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d266ec;
/* rgb */ color: rgb(210, 102, 236);
/* oklch */ color: oklch(69.0% 0.212 319.5);
Tailwind
colors: {
  custom: {
    50: '#e397f3',
    500: '#d266ec',
    950: '#000000',
  },
}
SCSS
$custom: #d266ec;
$custom-light: #e397f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d266ec",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 288.358,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69015,
    "c": 0.21246,
    "h": 319.5
  },
  "luminance": 0.29261
}

Semantic roles & 50–950 ramp

primary
#D266EC
secondary
#CAEDC1
accent
#DA0B33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266EC

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

Preview Lab → · Contrast checker → · Palette generator →

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