#C772E7#C772E7

#C772E7 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.184 H 316.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C772E7
RGBrgb(199, 114, 231)
HSLhsl(284, 71%, 68%)
HSVhsv(284, 51%, 91%)
CMYKcmyk(13.9%, 50.6%, 0%, 9.4%)
CIE-LABlab(61.61, 52.24, -45.94)
CIE-LCHlch(61.61, 69.57, 318.67°)
OKLaboklab(69.08% 0.1327 -0.1278)
OKLCHoklch(69.08% 0.184 316.1)
XYZxyz(43.9921, 29.9476, 79.0489)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772E7 #92E772
analogous
#8D72E7 #C772E7 #E772CC
triadic
#C772E7 #E7C772 #72E7C7
tetradic
#C772E7 #E78D72 #92E772 #72CCE7
square
#C772E7 #E78D72 #92E772 #72CCE7
split-complementary
#C772E7 #CCE772 #72E78D
monochromatic
#9320BE #B23EDE #C772E7 #DCA6F0 #F1DBF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C772E7#FFFFFF#000000##000000
##C772E71.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)
#5990EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#C584A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c772e7;
/* rgb */ color: rgb(199, 114, 231);
/* oklch */ color: oklch(69.1% 0.184 316.1);
Tailwind
colors: {
  custom: {
    50: '#da9def',
    500: '#c772e7',
    950: '#000000',
  },
}
SCSS
$custom: #c772e7;
$custom-light: #da9def;
$custom-dark: #000000;
JSON
{
  "hex": "#c772e7",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 283.59,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69082,
    "c": 0.18423,
    "h": 316.1
  },
  "luminance": 0.29946
}

Semantic roles & 50–950 ramp

primary
#C772E7
secondary
#D2EDC8
accent
#D31347
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C772E7

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

Preview Lab → · Contrast checker → · Palette generator →

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