#C766DF#C766DF

#C766DF is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.0% C 0.195 H 319.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C766DF
RGBrgb(199, 102, 223)
HSLhsl(288, 65%, 64%)
HSVhsv(288, 54%, 87%)
CMYKcmyk(10.8%, 54.3%, 0%, 12.5%)
CIE-LABlab(58.95, 56.63, -45.67)
CIE-LCHlch(58.95, 72.75, 321.12°)
OKLaboklab(67% 0.1478 -0.1269)
OKLCHoklch(67% 0.195 319.3)
XYZxyz(41.6221, 26.9743, 72.8118)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766DF #7EDF66
analogous
#8A66DF #C766DF #DF66BA
triadic
#C766DF #DFC766 #66DFC7
tetradic
#C766DF #DF8A66 #7EDF66 #66BADF
square
#C766DF #DF8A66 #7EDF66 #66BADF
split-complementary
#C766DF #BADF66 #66DF8A
monochromatic
#8D23A8 #B433D4 #C766DF #DA99EA #ECCBF4

Accessibility & contrast

On white

3.28
#C766DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C766DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766DF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766DF#FFFFFF#000000##000000
##C766DF1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#6E91DC
Tritanopia (blue-blind)
#C87899
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c766df;
/* rgb */ color: rgb(199, 102, 223);
/* oklch */ color: oklch(67.0% 0.195 319.3);
Tailwind
colors: {
  custom: {
    50: '#da96e9',
    500: '#c766df',
    950: '#000000',
  },
}
SCSS
$custom: #c766df;
$custom-light: #da96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c766df",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 288.099,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.19482,
    "h": 319.3
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#C766DF
secondary
#C4E6BB
accent
#CD183C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C766DF

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

Preview Lab → · Contrast checker → · Palette generator →

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