#C770FE#C770FE

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

Color values

HEX#C770FE
RGBrgb(199, 112, 254)
HSLhsl(277, 99%, 72%)
HSVhsv(277, 56%, 100%)
CMYKcmyk(21.7%, 55.9%, 0%, 0.4%)
CIE-LABlab(62.41, 58.06, -57.39)
CIE-LCHlch(62.41, 81.64, 315.33°)
OKLaboklab(70.06% 0.1369 -0.1612)
OKLCHoklch(70.06% 0.211 310.3)
XYZxyz(47.2334, 30.8871, 97.2203)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FE #A7FE70
analogous
#8070FE #C770FE #FE70EE
triadic
#C770FE #FEC770 #70FEC7
tetradic
#C770FE #FE8070 #A7FE70 #70EEFE
square
#C770FE #FE8070 #A7FE70 #70EEFE
split-complementary
#C770FE #EEFE70 #70FE80
monochromatic
#9502F2 #AF33FE #C770FE #DFADFE #F3E1FF

Accessibility & contrast

On white

2.93
#C770FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C770FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FE#FFFFFF#000000##000000
##C770FE1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#C08AAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c770fe;
/* rgb */ color: rgb(199, 112, 254);
/* oklch */ color: oklch(70.1% 0.211 310.3);
Tailwind
colors: {
  custom: {
    50: '#db9cff',
    500: '#c770fe',
    950: '#000000',
  },
}
SCSS
$custom: #c770fe;
$custom-light: #db9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c770fe",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 276.761,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70057,
    "c": 0.21145,
    "h": 310.3
  },
  "luminance": 0.30886
}

Semantic roles & 50–950 ramp

primary
#C770FE
secondary
#E1F7D3
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FE

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

Preview Lab → · Contrast checker → · Palette generator →

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