#C770EB#C770EB

#C770EB is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.0% C 0.192 H 315.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C770EB
RGBrgb(199, 112, 235)
HSLhsl(282, 75%, 68%)
HSVhsv(282, 52%, 92%)
CMYKcmyk(15.3%, 52.3%, 0%, 7.8%)
CIE-LABlab(61.42, 54.08, -48.47)
CIE-LCHlch(61.42, 72.62, 318.13°)
OKLaboklab(69.01% 0.1357 -0.1351)
OKLCHoklch(69.01% 0.192 315.1)
XYZxyz(44.3404, 29.7299, 81.9839)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770EB #94EB70
analogous
#8970EB #C770EB #EB70D1
triadic
#C770EB #EBC770 #70EBC7
tetradic
#C770EB #EB8970 #94EB70 #70D1EB
square
#C770EB #EB8970 #94EB70 #70D1EB
split-complementary
#C770EB #D1EB70 #70EB89
monochromatic
#931CC5 #B23AE3 #C770EB #DCA6F3 #F1DBFA

Accessibility & contrast

On white

3.02
#C770EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C770EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770EB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770EB#FFFFFF#000000##000000
##C770EB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#C583A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c770eb;
/* rgb */ color: rgb(199, 112, 235);
/* oklch */ color: oklch(69.0% 0.192 315.1);
Tailwind
colors: {
  custom: {
    50: '#da9cf2',
    500: '#c770eb',
    950: '#000000',
  },
}
SCSS
$custom: #c770eb;
$custom-light: #da9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c770eb",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 282.439,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.19152,
    "h": 315.1
  },
  "luminance": 0.29729
}

Semantic roles & 50–950 ramp

primary
#C770EB
secondary
#D4EEC9
accent
#D80E49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C770EB

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

Preview Lab → · Contrast checker → · Palette generator →

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