#C766FD#C766FD

#C766FD is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.7% C 0.225 H 311.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C766FD
RGBrgb(199, 102, 253)
HSLhsl(279, 97%, 70%)
HSVhsv(279, 60%, 99%)
CMYKcmyk(21.3%, 59.7%, 0%, 0.8%)
CIE-LABlab(60.55, 62.70, -59.82)
CIE-LCHlch(60.55, 86.65, 316.35°)
OKLaboklab(68.68% 0.149 -0.1682)
OKLCHoklch(68.68% 0.225 311.5)
XYZxyz(46.0309, 28.7378, 96.0316)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766FD #9CFD66
analogous
#7C66FD #C766FD #FD66E8
triadic
#C766FD #FDC766 #66FDC7
tetradic
#C766FD #FD7C66 #9CFD66 #66E8FD
square
#C766FD #FD7C66 #9CFD66 #66E8FD
split-complementary
#C766FD #E8FD66 #66FD7C
monochromatic
#9503E6 #B12AFC #C766FD #DDA2FE #F3DFFF

Accessibility & contrast

On white

3.11
#C766FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#C766FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766FD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766FD#FFFFFF#000000##000000
##C766FD1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#C182A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c766fd;
/* rgb */ color: rgb(199, 102, 253);
/* oklch */ color: oklch(68.7% 0.225 311.5);
Tailwind
colors: {
  custom: {
    50: '#dc96ff',
    500: '#c766fd',
    950: '#000000',
  },
}
SCSS
$custom: #c766fd;
$custom-light: #dc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c766fd",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 278.543,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.2247,
    "h": 311.5
  },
  "luminance": 0.28737
}

Semantic roles & 50–950 ramp

primary
#C766FD
secondary
#D9F5CA
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C766FD

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

Preview Lab → · Contrast checker → · Palette generator →

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