#C770FB#C770FB

#C770FB is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.9% C 0.208 H 311.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C770FB
RGBrgb(199, 112, 251)
HSLhsl(278, 95%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.7%, 55.4%, 0%, 1.6%)
CIE-LABlab(62.25, 57.42, -56.00)
CIE-LCHlch(62.25, 80.20, 315.72°)
OKLaboklab(69.89% 0.1368 -0.1571)
OKLCHoklch(69.89% 0.208 311)
XYZxyz(46.7567, 30.6965, 94.7100)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FB #A4FB70
analogous
#8170FB #C770FB #FB70E9
triadic
#C770FB #FBC770 #70FBC7
tetradic
#C770FB #FB8170 #A4FB70 #70E9FB
square
#C770FB #FB8170 #A4FB70 #70E9FB
split-complementary
#C770FB #E9FB70 #70FB81
monochromatic
#9507EA #B034F9 #C770FB #DEACFD #F3E1FE

Accessibility & contrast

On white

2.94
#C770FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C770FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FB#FFFFFF#000000##000000
##C770FB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6598F8
Tritanopia (blue-blind)
#C189AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c770fb;
/* rgb */ color: rgb(199, 112, 251);
/* oklch */ color: oklch(69.9% 0.208 311.0);
Tailwind
colors: {
  custom: {
    50: '#db9cfd',
    500: '#c770fb',
    950: '#000000',
  },
}
SCSS
$custom: #c770fb;
$custom-light: #db9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c770fb",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 277.554,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69887,
    "c": 0.20829,
    "h": 311
  },
  "luminance": 0.30695
}

Semantic roles & 50–950 ramp

primary
#C770FB
secondary
#DFF6D1
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FB

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

Preview Lab → · Contrast checker → · Palette generator →

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