#C766DA#C766DA

#C766DA is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.7% C 0.190 H 320.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C766DA
RGBrgb(199, 102, 218)
HSLhsl(290, 61%, 63%)
HSVhsv(290, 53%, 85%)
CMYKcmyk(8.7%, 53.2%, 0%, 14.5%)
CIE-LABlab(58.70, 55.66, -43.25)
CIE-LCHlch(58.70, 70.49, 322.15°)
OKLaboklab(66.73% 0.1473 -0.1199)
OKLCHoklch(66.73% 0.19 320.8)
XYZxyz(40.9580, 26.7086, 69.3139)
Luminance0.2671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766DA #79DA66
analogous
#8D66DA #C766DA #DA66B3
triadic
#C766DA #DAC766 #66DAC7
tetradic
#C766DA #DA8D66 #79DA66 #66B3DA
square
#C766DA #DA8D66 #79DA66 #66B3DA
split-complementary
#C766DA #B3DA66 #66DA8D
monochromatic
#8B269F #B535CE #C766DA #D997E6 #EBC9F2

Accessibility & contrast

On white

3.31
#C766DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C766DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766DA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766DA#FFFFFF#000000##000000
##C766DA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#C97697
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c766da;
/* rgb */ color: rgb(199, 102, 218);
/* oklch */ color: oklch(66.7% 0.190 320.8);
Tailwind
colors: {
  custom: {
    50: '#da96e6',
    500: '#c766da',
    950: '#000000',
  },
}
SCSS
$custom: #c766da;
$custom-light: #da96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c766da",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 290.172,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66733,
    "c": 0.18996,
    "h": 320.8
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#C766DA
secondary
#C0E3B9
accent
#C91D39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C766DA

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

Preview Lab → · Contrast checker → · Palette generator →

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