#C766DD#C766DD

#C766DD is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.9% C 0.193 H 319.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C766DD
RGBrgb(199, 102, 221)
HSLhsl(289, 64%, 63%)
HSVhsv(289, 54%, 87%)
CMYKcmyk(10%, 53.8%, 0%, 13.3%)
CIE-LABlab(58.85, 56.24, -44.70)
CIE-LCHlch(58.85, 71.84, 321.52°)
OKLaboklab(66.89% 0.1476 -0.1241)
OKLCHoklch(66.89% 0.193 319.9)
XYZxyz(41.3541, 26.8670, 71.4001)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766DD #7CDD66
analogous
#8B66DD #C766DD #DD66B7
triadic
#C766DD #DDC766 #66DDC7
tetradic
#C766DD #DD8B66 #7CDD66 #66B7DD
square
#C766DD #DD8B66 #7CDD66 #66B7DD
split-complementary
#C766DD #B7DD66 #66DD8B
monochromatic
#8D24A4 #B534D2 #C766DD #D998E8 #ECCAF3

Accessibility & contrast

On white

3.30
#C766DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C766DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766DD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766DD#FFFFFF#000000##000000
##C766DD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#C87798
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c766dd;
/* rgb */ color: rgb(199, 102, 221);
/* oklch */ color: oklch(66.9% 0.193 319.9);
Tailwind
colors: {
  custom: {
    50: '#da96e8',
    500: '#c766dd',
    950: '#000000',
  },
}
SCSS
$custom: #c766dd;
$custom-light: #da96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c766dd",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 288.908,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.19286,
    "h": 319.9
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#C766DD
secondary
#C2E5BA
accent
#CB1A3B
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C766DD

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

Preview Lab → · Contrast checker → · Palette generator →

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