#C766FB#C766FB

#C766FB is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.6% C 0.223 H 312.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C766FB
RGBrgb(199, 102, 251)
HSLhsl(279, 95%, 69%)
HSVhsv(279, 59%, 98%)
CMYKcmyk(20.7%, 59.4%, 0%, 1.6%)
CIE-LABlab(60.44, 62.28, -58.89)
CIE-LCHlch(60.44, 85.72, 316.60°)
OKLaboklab(68.56% 0.149 -0.1655)
OKLCHoklch(68.56% 0.223 312)
XYZxyz(45.7140, 28.6110, 94.3624)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766FB #9AFB66
analogous
#7D66FB #C766FB #FB66E5
triadic
#C766FB #FBC766 #66FBC7
tetradic
#C766FB #FB7D66 #9AFB66 #66E5FB
square
#C766FB #FB7D66 #9AFB66 #66E5FB
split-complementary
#C766FB #E5FB66 #66FB7D
monochromatic
#9406E1 #B12AF9 #C766FB #DDA2FD #F3DDFE

Accessibility & contrast

On white

3.12
#C766FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#C766FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766FB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766FB#FFFFFF#000000##000000
##C766FB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#C181A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c766fb;
/* rgb */ color: rgb(199, 102, 251);
/* oklch */ color: oklch(68.6% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#db96fd',
    500: '#c766fb',
    950: '#000000',
  },
}
SCSS
$custom: #c766fb;
$custom-light: #db96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c766fb",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 279.06,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.22268,
    "h": 312
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#C766FB
secondary
#D8F4C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C766FB

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

Preview Lab → · Contrast checker → · Palette generator →

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