#D266CC#D266CC

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

Color values

HEX#D266CC
RGBrgb(210, 102, 204)
HSLhsl(303, 55%, 61%)
HSVhsv(303, 51%, 82%)
CMYKcmyk(0%, 51.4%, 2.9%, 17.6%)
CIE-LABlab(59.50, 56.12, -34.00)
CIE-LCHlch(59.50, 65.61, 328.79°)
OKLaboklab(67.41% 0.158 -0.0931)
OKLCHoklch(67.41% 0.183 329.5)
XYZxyz(42.2283, 27.5666, 60.2117)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266CC #66D26C
analogous
#A266D2 #D266CC #D26696
triadic
#D266CC #CCD266 #66CCD2
tetradic
#D266CC #D2A266 #66D26C #6696D2
square
#D266CC #D2A266 #66D26C #6696D2
split-complementary
#D266CC #96D266 #66D2A2
monochromatic
#932B8D #C239BA #D266CC #E095DC #EEC5EC

Accessibility & contrast

On white

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

On black

6.51
#D266CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266CC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266CC#FFFFFF#000000##000000
##D266CC1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#7F95C9
Tritanopia (blue-blind)
#D97090
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d266cc;
/* rgb */ color: rgb(210, 102, 204);
/* oklch */ color: oklch(67.4% 0.183 329.5);
Tailwind
colors: {
  custom: {
    50: '#e296dc',
    500: '#d266cc',
    950: '#000000',
  },
}
SCSS
$custom: #d266cc;
$custom-light: #e296dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d266cc",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 303.333,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.18338,
    "h": 329.5
  },
  "luminance": 0.27564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D266CC

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

Preview Lab → · Contrast checker → · Palette generator →

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