#C770F2#C770F2

#C770F2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.4% C 0.199 H 313.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C770F2
RGBrgb(199, 112, 242)
HSLhsl(280, 83%, 69%)
HSVhsv(280, 54%, 95%)
CMYKcmyk(17.8%, 53.7%, 0%, 5.1%)
CIE-LABlab(61.78, 55.52, -51.78)
CIE-LCHlch(61.78, 75.92, 317.00°)
OKLaboklab(69.38% 0.1363 -0.1448)
OKLCHoklch(69.38% 0.199 313.3)
XYZxyz(45.3717, 30.1424, 87.4152)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770F2 #9BF270
analogous
#8670F2 #C770F2 #F270DC
triadic
#C770F2 #F2C770 #70F2C7
tetradic
#C770F2 #F28670 #9BF270 #70DCF2
square
#C770F2 #F28670 #9BF270 #70DCF2
split-complementary
#C770F2 #DCF270 #70F286
monochromatic
#9413D4 #B138ED #C770F2 #DDA8F7 #F3E0FC

Accessibility & contrast

On white

2.99
#C770F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C770F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770F2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770F2#FFFFFF#000000##000000
##C770F21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#C386A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c770f2;
/* rgb */ color: rgb(199, 112, 242);
/* oklch */ color: oklch(69.4% 0.199 313.3);
Tailwind
colors: {
  custom: {
    50: '#db9cf7',
    500: '#c770f2',
    950: '#000000',
  },
}
SCSS
$custom: #c770f2;
$custom-light: #db9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c770f2",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 280.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69385,
    "c": 0.19883,
    "h": 313.3
  },
  "luminance": 0.30141
}

Semantic roles & 50–950 ramp

primary
#C770F2
secondary
#D9F2CC
accent
#E0064E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C770F2

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

Preview Lab → · Contrast checker → · Palette generator →

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