#C770FC#C770FC

#C770FC is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.209 H 310.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C770FC
RGBrgb(199, 112, 252)
HSLhsl(277, 96%, 71%)
HSVhsv(277, 56%, 99%)
CMYKcmyk(21%, 55.6%, 0%, 1.2%)
CIE-LABlab(62.30, 57.63, -56.47)
CIE-LCHlch(62.30, 80.68, 315.58°)
OKLaboklab(69.94% 0.1368 -0.1584)
OKLCHoklch(69.94% 0.209 310.8)
XYZxyz(46.9148, 30.7597, 95.5424)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FC #A5FC70
analogous
#8170FC #C770FC #FC70EB
triadic
#C770FC #FCC770 #70FCC7
tetradic
#C770FC #FC8170 #A5FC70 #70EBFC
square
#C770FC #FC8170 #A5FC70 #70EBFC
split-complementary
#C770FC #EBFC70 #70FC81
monochromatic
#9505ED #B034FB #C770FC #DEACFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.15
#C770FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FC#FFFFFF#000000##000000
##C770FC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#C189AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c770fc;
/* rgb */ color: rgb(199, 112, 252);
/* oklch */ color: oklch(69.9% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#db9cfe',
    500: '#c770fc',
    950: '#000000',
  },
}
SCSS
$custom: #c770fc;
$custom-light: #db9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c770fc",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 277.286,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69943,
    "c": 0.20934,
    "h": 310.8
  },
  "luminance": 0.30759
}

Semantic roles & 50–950 ramp

primary
#C770FC
secondary
#DFF6D2
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FC

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

Preview Lab → · Contrast checker → · Palette generator →

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