#C770DF#C770DF

#C770DF is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.4% C 0.179 H 318.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#C770DF
RGBrgb(199, 112, 223)
HSLhsl(287, 63%, 66%)
HSVhsv(287, 50%, 87%)
CMYKcmyk(10.8%, 49.8%, 0%, 12.5%)
CIE-LABlab(60.83, 51.65, -42.70)
CIE-LCHlch(60.83, 67.02, 320.42°)
OKLaboklab(68.38% 0.1345 -0.1184)
OKLCHoklch(68.38% 0.179 318.6)
XYZxyz(42.6649, 29.0597, 73.1594)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770DF #88DF70
analogous
#8F70DF #C770DF #DF70BF
triadic
#C770DF #DFC770 #70DFC7
tetradic
#C770DF #DF8F70 #88DF70 #70BFDF
square
#C770DF #DF8F70 #88DF70 #70BFDF
split-complementary
#C770DF #BFDF70 #70DF8F
monochromatic
#9127AE #B33ED4 #C770DF #DBA2EA #EED4F5

Accessibility & contrast

On white

3.08
#C770DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#C770DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770DF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770DF#FFFFFF#000000##000000
##C770DF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#C7809D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c770df;
/* rgb */ color: rgb(199, 112, 223);
/* oklch */ color: oklch(68.4% 0.179 318.6);
Tailwind
colors: {
  custom: {
    50: '#da9ce9',
    500: '#c770df',
    950: '#000000',
  },
}
SCSS
$custom: #c770df;
$custom-light: #da9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#c770df",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 287.027,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.17917,
    "h": 318.6
  },
  "luminance": 0.29058
}

Semantic roles & 50–950 ramp

primary
#C770DF
secondary
#CBE8C3
accent
#CB1A41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C770DF

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

Preview Lab → · Contrast checker → · Palette generator →

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