#C766FA#C766FA

#C766FA is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.5% C 0.222 H 312.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C766FA
RGBrgb(199, 102, 250)
HSLhsl(279, 94%, 69%)
HSVhsv(279, 59%, 98%)
CMYKcmyk(20.4%, 59.2%, 0%, 2%)
CIE-LABlab(60.38, 62.07, -58.43)
CIE-LCHlch(60.38, 85.25, 316.73°)
OKLaboklab(68.5% 0.149 -0.1641)
OKLCHoklch(68.5% 0.222 312.2)
XYZxyz(45.5568, 28.5481, 93.5344)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766FA #99FA66
analogous
#7D66FA #C766FA #FA66E3
triadic
#C766FA #FAC766 #66FAC7
tetradic
#C766FA #FA7D66 #99FA66 #66E3FA
square
#C766FA #FA7D66 #99FA66 #66E3FA
split-complementary
#C766FA #E3FA66 #66FA7D
monochromatic
#9407DE #B12BF8 #C766FA #DDA1FC #F2DDFE

Accessibility & contrast

On white

3.13
#C766FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C766FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766FA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766FA#FFFFFF#000000##000000
##C766FA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c766fa;
/* rgb */ color: rgb(199, 102, 250);
/* oklch */ color: oklch(68.5% 0.222 312.2);
Tailwind
colors: {
  custom: {
    50: '#db96fd',
    500: '#c766fa',
    950: '#000000',
  },
}
SCSS
$custom: #c766fa;
$custom-light: #db96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c766fa",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 279.324,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.22167,
    "h": 312.2
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#C766FA
secondary
#D7F4C8
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C766FA

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

Preview Lab → · Contrast checker → · Palette generator →

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