#C766F7#C766F7

#C766F7 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.3% C 0.219 H 312.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#C766F7
RGBrgb(199, 102, 247)
HSLhsl(280, 90%, 68%)
HSVhsv(280, 59%, 97%)
CMYKcmyk(19.4%, 58.7%, 0%, 3.1%)
CIE-LABlab(60.21, 61.45, -57.04)
CIE-LCHlch(60.21, 83.84, 317.13°)
OKLaboklab(68.33% 0.149 -0.1601)
OKLCHoklch(68.33% 0.219 312.9)
XYZxyz(45.0902, 28.3615, 91.0767)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766F7 #96F766
analogous
#7E66F7 #C766F7 #F766DE
triadic
#C766F7 #F7C766 #66F7C7
tetradic
#C766F7 #F77E66 #96F766 #66DEF7
square
#C766F7 #F77E66 #96F766 #66DEF7
split-complementary
#C766F7 #DEF766 #66F77E
monochromatic
#940BD7 #B22CF4 #C766F7 #DCA0FA #F2DAFD

Accessibility & contrast

On white

3.15
#C766F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#C766F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766F7#FFFFFF#000000##000000
##C766F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#C280A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c766f7;
/* rgb */ color: rgb(199, 102, 247);
/* oklch */ color: oklch(68.3% 0.219 312.9);
Tailwind
colors: {
  custom: {
    50: '#db96fa',
    500: '#c766f7',
    950: '#000000',
  },
}
SCSS
$custom: #c766f7;
$custom-light: #db96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c766f7",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 280.138,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.21866,
    "h": 312.9
  },
  "luminance": 0.2836
}

Semantic roles & 50–950 ramp

primary
#C766F7
secondary
#D5F2C7
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C766F7

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

Preview Lab → · Contrast checker → · Palette generator →

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