#D266DF#D266DF

#D266DF is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.3% C 0.200 H 323.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D266DF
RGBrgb(210, 102, 223)
HSLhsl(294, 65%, 64%)
HSVhsv(294, 54%, 87%)
CMYKcmyk(5.8%, 54.3%, 0%, 12.5%)
CIE-LABlab(60.37, 59.50, -43.34)
CIE-LCHlch(60.37, 73.61, 323.93°)
OKLaboklab(68.33% 0.1605 -0.1199)
OKLCHoklch(68.33% 0.2 323.2)
XYZxyz(44.6477, 28.5343, 72.9536)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266DF #73DF66
analogous
#9566DF #D266DF #DF66AF
triadic
#D266DF #DFD266 #66DFD2
tetradic
#D266DF #DF9566 #73DF66 #66AFDF
square
#D266DF #DF9566 #73DF66 #66AFDF
split-complementary
#D266DF #AFDF66 #66DF95
monochromatic
#9923A8 #C333D4 #D266DF #E199EA #F0CBF4

Accessibility & contrast

On white

3.13
#D266DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D266DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266DF#FFFFFF#000000##000000
##D266DF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#7796DC
Tritanopia (blue-blind)
#D57699
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d266df;
/* rgb */ color: rgb(210, 102, 223);
/* oklch */ color: oklch(68.3% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#e296e9',
    500: '#d266df',
    950: '#000000',
  },
}
SCSS
$custom: #d266df;
$custom-light: #e296e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d266df",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 293.554,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68334,
    "c": 0.20033,
    "h": 323.2
  },
  "luminance": 0.28532
}

Semantic roles & 50–950 ramp

primary
#D266DF
secondary
#C0E6BB
accent
#CD182C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D266DF

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

Preview Lab → · Contrast checker → · Palette generator →

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