#C770FD#C770FD

#C770FD is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 70.0% C 0.210 H 310.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C770FD
RGBrgb(199, 112, 253)
HSLhsl(277, 97%, 72%)
HSVhsv(277, 56%, 99%)
CMYKcmyk(21.3%, 55.7%, 0%, 0.8%)
CIE-LABlab(62.36, 57.84, -56.93)
CIE-LCHlch(62.36, 81.16, 315.46°)
OKLaboklab(70% 0.1369 -0.1598)
OKLCHoklch(70% 0.21 310.6)
XYZxyz(47.0737, 30.8232, 96.3791)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C770FD #A6FD70
analogous
#8170FD #C770FD #FD70ED
triadic
#C770FD #FDC770 #70FDC7
tetradic
#C770FD #FD8170 #A6FD70 #70EDFD
square
#C770FD #FD8170 #A6FD70 #70EDFD
split-complementary
#C770FD #EDFD70 #70FD81
monochromatic
#9503EF #AF34FC #C770FD #DFACFE #F3E1FF

Accessibility & contrast

On white

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

On black

7.16
#C770FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C770FD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C770FD#FFFFFF#000000##000000
##C770FD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6398FA
Tritanopia (blue-blind)
#C089AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c770fd;
/* rgb */ color: rgb(199, 112, 253);
/* oklch */ color: oklch(70.0% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#db9cff',
    500: '#c770fd',
    950: '#000000',
  },
}
SCSS
$custom: #c770fd;
$custom-light: #db9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c770fd",
  "rgb": {
    "r": 199,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 277.021,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7,
    "c": 0.2104,
    "h": 310.6
  },
  "luminance": 0.30822
}

Semantic roles & 50–950 ramp

primary
#C770FD
secondary
#E0F7D2
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C770FD

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

Preview Lab → · Contrast checker → · Palette generator →

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