#C770DC#C770DC

#C770DC is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.2% C 0.176 H 319.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#C770DC
RGBrgb(199, 112, 220)
HSLhsl(288, 61%, 65%)
HSVhsv(288, 49%, 86%)
CMYKcmyk(9.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(60.69, 51.06, -41.24)
CIE-LCHlch(60.69, 65.64, 321.07°)
OKLaboklab(68.23% 0.1341 -0.1142)
OKLCHoklch(68.23% 0.176 319.6)
XYZxyz(42.2640, 28.8994, 71.0481)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770DC #85DC70
analogous
#9170DC #C770DC #DC70BB
triadic
#C770DC #DCC770 #70DCC7
tetradic
#C770DC #DC9170 #85DC70 #70BBDC
square
#C770DC #DC9170 #85DC70 #70BBDC
split-complementary
#C770DC #BBDC70 #70DC91
monochromatic
#9029A8 #B43FD0 #C770DC #DAA1E8 #EED2F4

Accessibility & contrast

On white

3.10
#C770DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#C770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770DC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770DC#FFFFFF#000000##000000
##C770DC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CE0
Deuteranopia (green-blind)
#7796D9
Tritanopia (blue-blind)
#C87F9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c770dc;
/* rgb */ color: rgb(199, 112, 220);
/* oklch */ color: oklch(68.2% 0.176 319.6);
Tailwind
colors: {
  custom: {
    50: '#da9ce7',
    500: '#c770dc',
    950: '#000000',
  },
}
SCSS
$custom: #c770dc;
$custom-light: #da9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#c770dc",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 288.333,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.17611,
    "h": 319.6
  },
  "luminance": 0.28898
}

Semantic roles & 50–950 ramp

primary
#C770DC
secondary
#C9E6C2
accent
#C81D3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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