#D266C8#D266C8

#D266C8 is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.2% C 0.180 H 331.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D266C8
RGBrgb(210, 102, 200)
HSLhsl(306, 55%, 61%)
HSVhsv(306, 51%, 82%)
CMYKcmyk(0%, 51.4%, 4.8%, 17.6%)
CIE-LABlab(59.32, 55.43, -32.00)
CIE-LCHlch(59.32, 64.00, 330.01°)
OKLaboklab(67.22% 0.1574 -0.0873)
OKLCHoklch(67.22% 0.18 331)
XYZxyz(41.7547, 27.3771, 57.7174)
Luminance0.2737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266C8 #66D270
analogous
#A666D2 #D266C8 #D26692
triadic
#D266C8 #C8D266 #66C8D2
tetradic
#D266C8 #D2A666 #66D270 #6692D2
square
#D266C8 #D2A666 #66D270 #6692D2
split-complementary
#D266C8 #92D266 #66D2A6
monochromatic
#932B89 #C239B5 #D266C8 #E095D9 #EEC5EA

Accessibility & contrast

On white

3.24
#D266C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D266C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266C8#FFFFFF#000000##000000
##D266C81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#8194C5
Tritanopia (blue-blind)
#D96F8E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d266c8;
/* rgb */ color: rgb(210, 102, 200);
/* oklch */ color: oklch(67.2% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#e296d9',
    500: '#d266c8',
    950: '#000000',
  },
}
SCSS
$custom: #d266c8;
$custom-light: #e296d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d266c8",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 305.556,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.17997,
    "h": 331
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#D266C8
secondary
#B6DEB9
accent
#C23223
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D266C8

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

Preview Lab → · Contrast checker → · Palette generator →

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