#D266EB#D266EB

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

Color values

HEX#D266EB
RGBrgb(210, 102, 235)
HSLhsl(289, 77%, 66%)
HSVhsv(289, 57%, 92%)
CMYKcmyk(10.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(60.96, 61.75, -49.11)
CIE-LCHlch(60.96, 78.89, 321.51°)
OKLaboklab(68.96% 0.1614 -0.1366)
OKLCHoklch(68.96% 0.212 319.8)
XYZxyz(46.3232, 29.2045, 81.7781)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266EB #7FEB66
analogous
#8F66EB #D266EB #EB66C1
triadic
#D266EB #EBD266 #66EBD2
tetradic
#D266EB #EB8F66 #7FEB66 #66C1EB
square
#D266EB #EB8F66 #7FEB66 #66C1EB
split-complementary
#D266EB #C1EB66 #66EB8F
monochromatic
#9F19BE #C230E4 #D266EB #E29CF2 #F2D2F9

Accessibility & contrast

On white

3.07
#D266EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D266EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266EB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266EB#FFFFFF#000000##000000
##D266EB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d266eb;
/* rgb */ color: rgb(210, 102, 235);
/* oklch */ color: oklch(69.0% 0.212 319.8);
Tailwind
colors: {
  custom: {
    50: '#e397f2',
    500: '#d266eb',
    950: '#000000',
  },
}
SCSS
$custom: #d266eb;
$custom-light: #e397f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d266eb",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 288.722,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.21151,
    "h": 319.8
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#D266EB
secondary
#C9ECC1
accent
#D90C33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266EB

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

Preview Lab → · Contrast checker → · Palette generator →

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