#C770EF#C770EF

#C770EF is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.196 H 314.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C770EF
RGBrgb(199, 112, 239)
HSLhsl(281, 80%, 69%)
HSVhsv(281, 53%, 94%)
CMYKcmyk(16.7%, 53.1%, 0%, 6.3%)
CIE-LABlab(61.62, 54.90, -50.37)
CIE-LCHlch(61.62, 74.50, 317.47°)
OKLaboklab(69.22% 0.1361 -0.1407)
OKLCHoklch(69.22% 0.196 314)
XYZxyz(44.9248, 29.9637, 85.0617)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770EF #98EF70
analogous
#8870EF #C770EF #EF70D8
triadic
#C770EF #EFC770 #70EFC7
tetradic
#C770EF #EF8870 #98EF70 #70D8EF
square
#C770EF #EF8870 #98EF70 #70D8EF
split-complementary
#C770EF #D8EF70 #70EF88
monochromatic
#9417CE #B139E9 #C770EF #DDA7F5 #F2DEFB

Accessibility & contrast

On white

3.00
#C770EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C770EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C770EF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770EF#FFFFFF#000000##000000
##C770EF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#C485A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c770ef;
/* rgb */ color: rgb(199, 112, 239);
/* oklch */ color: oklch(69.2% 0.196 314.0);
Tailwind
colors: {
  custom: {
    50: '#db9cf5',
    500: '#c770ef',
    950: '#000000',
  },
}
SCSS
$custom: #c770ef;
$custom-light: #db9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c770ef",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 281.102,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.19569,
    "h": 314
  },
  "luminance": 0.29962
}

Semantic roles & 50–950 ramp

primary
#C770EF
secondary
#D6F0CB
accent
#DC094C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C770EF

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

Preview Lab → · Contrast checker → · Palette generator →

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