#C770EC#C770EC

#C770EC is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.193 H 314.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C770EC
RGBrgb(199, 112, 236)
HSLhsl(282, 77%, 68%)
HSVhsv(282, 53%, 93%)
CMYKcmyk(15.7%, 52.5%, 0%, 7.5%)
CIE-LABlab(61.47, 54.28, -48.94)
CIE-LCHlch(61.47, 73.09, 317.96°)
OKLaboklab(69.06% 0.1358 -0.1365)
OKLCHoklch(69.06% 0.193 314.9)
XYZxyz(44.4853, 29.7879, 82.7469)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770EC #95EC70
analogous
#8970EC #C770EC #EC70D3
triadic
#C770EC #ECC770 #70ECC7
tetradic
#C770EC #EC8970 #95EC70 #70D3EC
square
#C770EC #EC8970 #95EC70 #70D3EC
split-complementary
#C770EC #D3EC70 #70EC89
monochromatic
#941AC7 #B23AE5 #C770EC #DCA6F3 #F1DCFA

Accessibility & contrast

On white

3.02
#C770EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#C770EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770EC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770EC#FFFFFF#000000##000000
##C770EC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#C484A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c770ec;
/* rgb */ color: rgb(199, 112, 236);
/* oklch */ color: oklch(69.1% 0.193 314.9);
Tailwind
colors: {
  custom: {
    50: '#da9cf2',
    500: '#c770ec',
    950: '#000000',
  },
}
SCSS
$custom: #c770ec;
$custom-light: #da9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c770ec",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 282.097,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69061,
    "c": 0.19257,
    "h": 314.9
  },
  "luminance": 0.29787
}

Semantic roles & 50–950 ramp

primary
#C770EC
secondary
#D4EFC9
accent
#D90D4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C770EC

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

Preview Lab → · Contrast checker → · Palette generator →

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