#C770EA#C770EA

#C770EA is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.0% C 0.190 H 315.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#C770EA
RGBrgb(199, 112, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 52%, 92%)
CMYKcmyk(15%, 52.1%, 0%, 8.2%)
CIE-LABlab(61.37, 53.87, -47.99)
CIE-LCHlch(61.37, 72.15, 318.30°)
OKLaboklab(68.95% 0.1356 -0.1337)
OKLCHoklch(68.95% 0.19 315.4)
XYZxyz(44.1963, 29.6723, 81.2251)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770EA #93EA70
analogous
#8A70EA #C770EA #EA70D0
triadic
#C770EA #EAC770 #70EAC7
tetradic
#C770EA #EA8A70 #93EA70 #70D0EA
square
#C770EA #EA8A70 #93EA70 #70D0EA
split-complementary
#C770EA #D0EA70 #70EA8A
monochromatic
#931DC3 #B23BE2 #C770EA #DCA5F2 #F1DBFA

Accessibility & contrast

On white

3.03
#C770EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#C770EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770EA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770EA#FFFFFF#000000##000000
##C770EA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#C583A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c770ea;
/* rgb */ color: rgb(199, 112, 234);
/* oklch */ color: oklch(69.0% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#da9cf1',
    500: '#c770ea',
    950: '#000000',
  },
}
SCSS
$custom: #c770ea;
$custom-light: #da9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c770ea",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 282.787,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68954,
    "c": 0.19049,
    "h": 315.4
  },
  "luminance": 0.29671
}

Semantic roles & 50–950 ramp

primary
#C770EA
secondary
#D3EEC8
accent
#D70F48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C770EA

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

Preview Lab → · Contrast checker → · Palette generator →

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