#D266DC#D266DC

#D266DC is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.2% C 0.198 H 324.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D266DC
RGBrgb(210, 102, 220)
HSLhsl(295, 63%, 63%)
HSVhsv(295, 54%, 86%)
CMYKcmyk(4.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(60.23, 58.95, -41.88)
CIE-LCHlch(60.23, 72.32, 324.61°)
OKLaboklab(68.18% 0.1601 -0.1157)
OKLCHoklch(68.18% 0.198 324.1)
XYZxyz(44.2468, 28.3740, 70.8424)
Luminance0.2837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266DC #70DC66
analogous
#9766DC #D266DC #DC66AB
triadic
#D266DC #DCD266 #66DCD2
tetradic
#D266DC #DC9766 #70DC66 #66ABDC
square
#D266DC #DC9766 #70DC66 #66ABDC
split-complementary
#D266DC #ABDC66 #66DC97
monochromatic
#9825A2 #C334D1 #D266DC #E198E7 #EFCAF3

Accessibility & contrast

On white

3.15
#D266DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D266DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266DC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266DC#FFFFFF#000000##000000
##D266DC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#7896D9
Tritanopia (blue-blind)
#D67598
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d266dc;
/* rgb */ color: rgb(210, 102, 220);
/* oklch */ color: oklch(68.2% 0.198 324.1);
Tailwind
colors: {
  custom: {
    50: '#e296e7',
    500: '#d266dc',
    950: '#000000',
  },
}
SCSS
$custom: #d266dc;
$custom-light: #e296e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d266dc",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 294.915,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68182,
    "c": 0.19758,
    "h": 324.1
  },
  "luminance": 0.28372
}

Semantic roles & 50–950 ramp

primary
#D266DC
secondary
#BDE4BA
accent
#CB1B2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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