#C766F4#C766F4

#C766F4 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.2% C 0.216 H 313.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#C766F4
RGBrgb(199, 102, 244)
HSLhsl(281, 87%, 68%)
HSVhsv(281, 58%, 96%)
CMYKcmyk(18.4%, 58.2%, 0%, 4.3%)
CIE-LABlab(60.05, 60.83, -55.64)
CIE-LCHlch(60.05, 82.44, 317.55°)
OKLaboklab(68.15% 0.1489 -0.156)
OKLCHoklch(68.15% 0.216 313.7)
XYZxyz(44.6309, 28.1778, 88.6582)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C766F4 #93F466
analogous
#8066F4 #C766F4 #F466DA
triadic
#C766F4 #F4C766 #66F4C7
tetradic
#C766F4 #F48066 #93F466 #66DAF4
square
#C766F4 #F48066 #93F466 #66DAF4
split-complementary
#C766F4 #DAF466 #66F480
monochromatic
#930FD1 #B22DF0 #C766F4 #DC9FF8 #F1D8FC

Accessibility & contrast

On white

3.16
#C766F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#C766F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C766F4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C766F4#FFFFFF#000000##000000
##C766F41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF9
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#C37FA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c766f4;
/* rgb */ color: rgb(199, 102, 244);
/* oklch */ color: oklch(68.2% 0.216 313.7);
Tailwind
colors: {
  custom: {
    50: '#db96f8',
    500: '#c766f4',
    950: '#000000',
  },
}
SCSS
$custom: #c766f4;
$custom-light: #db96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c766f4",
  "rgb": {
    "r": 199,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 280.986,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68154,
    "c": 0.21564,
    "h": 313.7
  },
  "luminance": 0.28177
}

Semantic roles & 50–950 ramp

primary
#C766F4
secondary
#D3F1C5
accent
#E3024A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C766F4

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

Preview Lab → · Contrast checker → · Palette generator →

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