#C766EA#C766EA

#C766EA is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.6% C 0.206 H 316.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#C766EA
RGBrgb(199, 102, 234)
HSLhsl(284, 76%, 66%)
HSVhsv(284, 56%, 92%)
CMYKcmyk(15%, 56.4%, 0%, 8.2%)
CIE-LABlab(59.51, 58.80, -50.93)
CIE-LCHlch(59.51, 77.79, 319.10°)
OKLaboklab(67.59% 0.1485 -0.1422)
OKLCHoklch(67.59% 0.206 316.2)
XYZxyz(43.1536, 27.5868, 80.8776)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766EA #89EA66
analogous
#8566EA #C766EA #EA66CB
triadic
#C766EA #EAC766 #66EAC7
tetradic
#C766EA #EA8566 #89EA66 #66CBEA
square
#C766EA #EA8566 #89EA66 #66CBEA
split-complementary
#C766EA #CBEA66 #66EA85
monochromatic
#911ABC #B330E3 #C766EA #DB9CF1 #EED2F9

Accessibility & contrast

On white

3.22
#C766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#C766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766EA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766EA#FFFFFF#000000##000000
##C766EA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#C57C9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c766ea;
/* rgb */ color: rgb(199, 102, 234);
/* oklch */ color: oklch(67.6% 0.206 316.2);
Tailwind
colors: {
  custom: {
    50: '#db96f1',
    500: '#c766ea',
    950: '#000000',
  },
}
SCSS
$custom: #c766ea;
$custom-light: #db96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c766ea",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 284.091,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.20566,
    "h": 316.2
  },
  "luminance": 0.27585
}

Semantic roles & 50–950 ramp

primary
#C766EA
secondary
#CCECC0
accent
#D80D43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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