#D266CF#D266CF

#D266CF is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.5% C 0.186 H 328.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#D266CF
RGBrgb(210, 102, 207)
HSLhsl(302, 55%, 61%)
HSVhsv(302, 51%, 82%)
CMYKcmyk(0%, 51.4%, 1.4%, 17.6%)
CIE-LABlab(59.63, 56.64, -35.49)
CIE-LCHlch(59.63, 66.84, 327.93°)
OKLaboklab(67.55% 0.1585 -0.0973)
OKLCHoklch(67.55% 0.186 328.4)
XYZxyz(42.5916, 27.7119, 62.1249)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266CF #66D269
analogous
#9F66D2 #D266CF #D26699
triadic
#D266CF #CFD266 #66CFD2
tetradic
#D266CF #D29F66 #66D269 #6699D2
square
#D266CF #D29F66 #66D269 #6699D2
split-complementary
#D266CF #99D266 #66D29F
monochromatic
#932B90 #C239BE #D266CF #E095DE #EEC5ED

Accessibility & contrast

On white

3.21
#D266CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#D266CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266CF#FFFFFF#000000##000000
##D266CF1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#7E95CC
Tritanopia (blue-blind)
#D87191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d266cf;
/* rgb */ color: rgb(210, 102, 207);
/* oklch */ color: oklch(67.5% 0.186 328.4);
Tailwind
colors: {
  custom: {
    50: '#e296de',
    500: '#d266cf',
    950: '#000000',
  },
}
SCSS
$custom: #d266cf;
$custom-light: #e296de;
$custom-dark: #000000;
JSON
{
  "hex": "#d266cf",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 301.667,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67547,
    "c": 0.18598,
    "h": 328.4
  },
  "luminance": 0.27709
}

Semantic roles & 50–950 ramp

primary
#D266CF
secondary
#B6DEB7
accent
#C22823
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D266CF

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

Preview Lab → · Contrast checker → · Palette generator →

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