#D266CB#D266CB

#D266CB is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.4% C 0.183 H 329.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#D266CB
RGBrgb(210, 102, 203)
HSLhsl(304, 55%, 61%)
HSVhsv(304, 51%, 82%)
CMYKcmyk(0%, 51.4%, 3.3%, 17.6%)
CIE-LABlab(59.45, 55.95, -33.50)
CIE-LCHlch(59.45, 65.21, 329.09°)
OKLaboklab(67.36% 0.1579 -0.0916)
OKLCHoklch(67.36% 0.183 329.9)
XYZxyz(42.1088, 27.5187, 59.5820)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266CB #66D26D
analogous
#A366D2 #D266CB #D26695
triadic
#D266CB #CBD266 #66CBD2
tetradic
#D266CB #D2A366 #66D26D #6695D2
square
#D266CB #D2A366 #66D26D #6695D2
split-complementary
#D266CB #95D266 #66D2A3
monochromatic
#932B8C #C239B9 #D266CB #E095DB #EEC5EB

Accessibility & contrast

On white

3.23
#D266CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#D266CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266CB#FFFFFF#000000##000000
##D266CB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#8094C8
Tritanopia (blue-blind)
#D9708F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d266cb;
/* rgb */ color: rgb(210, 102, 203);
/* oklch */ color: oklch(67.4% 0.183 329.9);
Tailwind
colors: {
  custom: {
    50: '#e296db',
    500: '#d266cb',
    950: '#000000',
  },
}
SCSS
$custom: #d266cb;
$custom-light: #e296db;
$custom-dark: #000000;
JSON
{
  "hex": "#d266cb",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 303.889,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.18252,
    "h": 329.9
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#D266CB
secondary
#B6DEB8
accent
#C22E23
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D266CB

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

Preview Lab → · Contrast checker → · Palette generator →

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