#C766EE#C766EE

#C766EE is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.8% C 0.210 H 315.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C766EE
RGBrgb(199, 102, 238)
HSLhsl(283, 80%, 67%)
HSVhsv(283, 57%, 93%)
CMYKcmyk(16.4%, 57.1%, 0%, 6.7%)
CIE-LABlab(59.73, 59.61, -52.82)
CIE-LCHlch(59.73, 79.65, 318.45°)
OKLaboklab(67.81% 0.1487 -0.1478)
OKLCHoklch(67.81% 0.21 315.2)
XYZxyz(43.7347, 27.8193, 83.9382)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766EE #8DEE66
analogous
#8366EE #C766EE #EE66D1
triadic
#C766EE #EEC766 #66EEC7
tetradic
#C766EE #EE8366 #8DEE66 #66D1EE
square
#C766EE #EE8366 #8DEE66 #66D1EE
split-complementary
#C766EE #D1EE66 #66EE83
monochromatic
#9216C4 #B32FE8 #C766EE #DB9DF4 #EFD4FA

Accessibility & contrast

On white

3.20
#C766EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C766EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766EE#FFFFFF#000000##000000
##C766EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#6593EB
Tritanopia (blue-blind)
#C47DA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c766ee;
/* rgb */ color: rgb(199, 102, 238);
/* oklch */ color: oklch(67.8% 0.210 315.2);
Tailwind
colors: {
  custom: {
    50: '#db96f4',
    500: '#c766ee',
    950: '#000000',
  },
}
SCSS
$custom: #c766ee;
$custom-light: #db96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c766ee",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 282.794,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67813,
    "c": 0.20964,
    "h": 315.2
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#C766EE
secondary
#CFEEC2
accent
#DC0946
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C766EE

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

Preview Lab → · Contrast checker → · Palette generator →

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