#C772CC#C772CC

#C772CC is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.8% C 0.157 H 325.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C772CC
RGBrgb(199, 114, 204)
HSLhsl(297, 47%, 62%)
HSVhsv(297, 44%, 80%)
CMYKcmyk(2.5%, 44.1%, 0%, 20%)
CIE-LABlab(60.37, 46.96, -32.74)
CIE-LCHlch(60.37, 57.25, 325.12°)
OKLaboklab(67.76% 0.1287 -0.0898)
OKLCHoklch(67.76% 0.157 325.1)
XYZxyz(40.4686, 28.5382, 60.4918)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772CC #77CC72
analogous
#9A72CC #C772CC #CC72A4
triadic
#C772CC #CCC772 #72CCC7
tetradic
#C772CC #CC9A72 #77CC72 #72A4CC
square
#C772CC #CC9A72 #77CC72 #72A4CC
split-complementary
#C772CC #A4CC72 #72CC9A
monochromatic
#8B3490 #B545BC #C772CC #D99FDC #EBCCED

Accessibility & contrast

On white

3.13
#C772CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C772CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C772CC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772CC#FFFFFF#000000##000000
##C772CC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#CB7C95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c772cc;
/* rgb */ color: rgb(199, 114, 204);
/* oklch */ color: oklch(67.8% 0.157 325.1);
Tailwind
colors: {
  custom: {
    50: '#da9ddc',
    500: '#c772cc',
    950: '#000000',
  },
}
SCSS
$custom: #c772cc;
$custom-light: #da9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#c772cc",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 296.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.15691,
    "h": 325.1
  },
  "luminance": 0.28536
}

Semantic roles & 50–950 ramp

primary
#C772CC
secondary
#BEDDBC
accent
#BA2B33
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C772CC

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

Preview Lab → · Contrast checker → · Palette generator →

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