#C770FF#C770FF

#C770FF is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.1% C 0.213 H 310.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C770FF
RGBrgb(199, 112, 255)
HSLhsl(277, 100%, 72%)
HSVhsv(277, 56%, 100%)
CMYKcmyk(22%, 56.1%, 0%, 0%)
CIE-LABlab(62.47, 58.27, -57.86)
CIE-LCHlch(62.47, 82.12, 315.20°)
OKLaboklab(70.12% 0.1369 -0.1625)
OKLCHoklch(70.12% 0.213 310.1)
XYZxyz(47.3939, 30.9513, 98.0659)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FF #A8FF70
analogous
#7F70FF #C770FF #FF70F0
triadic
#C770FF #FFC770 #70FFC7
tetradic
#C770FF #FF7F70 #A8FF70 #70F0FF
square
#C770FF #FF7F70 #A8FF70 #70F0FF
split-complementary
#C770FF #F0FF70 #70FF7F
monochromatic
#9500F5 #AF33FF #C770FF #DFADFF #F3E0FF

Accessibility & contrast

On white

2.92
#C770FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C770FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FF#FFFFFF#000000##000000
##C770FF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#C08AAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c770ff;
/* rgb */ color: rgb(199, 112, 255);
/* oklch */ color: oklch(70.1% 0.213 310.1);
Tailwind
colors: {
  custom: {
    50: '#db9cff',
    500: '#c770ff',
    950: '#000000',
  },
}
SCSS
$custom: #c770ff;
$custom-light: #db9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c770ff",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 276.503,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.21251,
    "h": 310.1
  },
  "luminance": 0.3095
}

Semantic roles & 50–950 ramp

primary
#C770FF
secondary
#E2F7D3
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FF

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

Preview Lab → · Contrast checker → · Palette generator →

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