#C766CD#C766CD

#C766CD is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.1% C 0.178 H 325.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C766CD
RGBrgb(199, 102, 205)
HSLhsl(297, 51%, 60%)
HSVhsv(297, 50%, 80%)
CMYKcmyk(2.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(58.09, 53.22, -36.87)
CIE-LCHlch(58.09, 64.74, 325.29°)
OKLaboklab(66.08% 0.1457 -0.1015)
OKLCHoklch(66.08% 0.178 325.1)
XYZxyz(39.3231, 26.0546, 60.7035)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766CD #6CCD66
analogous
#9466CD #C766CD #CD669F
triadic
#C766CD #CDC766 #66CDC7
tetradic
#C766CD #CD9466 #6CCD66 #669FCD
square
#C766CD #CD9466 #6CCD66 #669FCD
split-complementary
#C766CD #9FCD66 #66CD94
monochromatic
#862D8B #B23DB9 #C766CD #D894DC #E9C2EB

Accessibility & contrast

On white

3.38
#C766CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C766CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766CD#FFFFFF#000000##000000
##C766CD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#CB7290
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c766cd;
/* rgb */ color: rgb(199, 102, 205);
/* oklch */ color: oklch(66.1% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#da95dc',
    500: '#c766cd',
    950: '#000000',
  },
}
SCSS
$custom: #c766cd;
$custom-light: #da95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c766cd",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 296.505,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6608,
    "c": 0.17761,
    "h": 325.1
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#C766CD
secondary
#B6DBB4
accent
#BE2730
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C766CD

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

Preview Lab → · Contrast checker → · Palette generator →

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