#C770FA#C770FA

#C770FA is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.8% C 0.207 H 311.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C770FA
RGBrgb(199, 112, 250)
HSLhsl(278, 93%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.4%, 55.2%, 0%, 2%)
CIE-LABlab(62.20, 57.20, -55.54)
CIE-LCHlch(62.20, 79.73, 315.85°)
OKLaboklab(69.83% 0.1367 -0.1557)
OKLCHoklch(69.83% 0.207 311.3)
XYZxyz(46.5995, 30.6336, 93.8820)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FA #A3FA70
analogous
#8270FA #C770FA #FA70E8
triadic
#C770FA #FAC770 #70FAC7
tetradic
#C770FA #FA8270 #A3FA70 #70E8FA
square
#C770FA #FA8270 #A3FA70 #70E8FA
split-complementary
#C770FA #E8FA70 #70FA82
monochromatic
#9508E8 #B035F8 #C770FA #DEABFC #F3E1FE

Accessibility & contrast

On white

2.95
#C770FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C770FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FA#FFFFFF#000000##000000
##C770FA1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#C188AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c770fa;
/* rgb */ color: rgb(199, 112, 250);
/* oklch */ color: oklch(69.8% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#db9cfc',
    500: '#c770fa',
    950: '#000000',
  },
}
SCSS
$custom: #c770fa;
$custom-light: #db9cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c770fa",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 277.826,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.20723,
    "h": 311.3
  },
  "luminance": 0.30633
}

Semantic roles & 50–950 ramp

primary
#C770FA
secondary
#DEF5D1
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FA

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

Preview Lab → · Contrast checker → · Palette generator →

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