#D266CD#D266CD

#D266CD is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.184 H 329.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D266CD
RGBrgb(210, 102, 205)
HSLhsl(303, 55%, 61%)
HSVhsv(303, 51%, 82%)
CMYKcmyk(0%, 51.4%, 2.4%, 17.6%)
CIE-LABlab(59.54, 56.29, -34.50)
CIE-LCHlch(59.54, 66.02, 328.50°)
OKLaboklab(67.45% 0.1582 -0.0945)
OKLCHoklch(67.45% 0.184 329.1)
XYZxyz(42.3487, 27.6147, 60.8454)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266CD #66D26B
analogous
#A166D2 #D266CD #D26697
triadic
#D266CD #CDD266 #66CDD2
tetradic
#D266CD #D2A166 #66D26B #6697D2
square
#D266CD #D2A166 #66D26B #6697D2
split-complementary
#D266CD #97D266 #66D2A1
monochromatic
#932B8E #C239BB #D266CD #E095DC #EEC5EC

Accessibility & contrast

On white

3.22
#D266CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D266CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266CD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266CD#FFFFFF#000000##000000
##D266CD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#7F95CA
Tritanopia (blue-blind)
#D87090
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d266cd;
/* rgb */ color: rgb(210, 102, 205);
/* oklch */ color: oklch(67.5% 0.184 329.1);
Tailwind
colors: {
  custom: {
    50: '#e296dc',
    500: '#d266cd',
    950: '#000000',
  },
}
SCSS
$custom: #d266cd;
$custom-light: #e296dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d266cd",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 302.778,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67453,
    "c": 0.18424,
    "h": 329.1
  },
  "luminance": 0.27612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D266CD

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

Preview Lab → · Contrast checker → · Palette generator →

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