#C772E8#C772E8

#C772E8 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.185 H 315.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C772E8
RGBrgb(199, 114, 232)
HSLhsl(283, 72%, 68%)
HSVhsv(283, 51%, 91%)
CMYKcmyk(14.2%, 50.9%, 0%, 9%)
CIE-LABlab(61.66, 52.45, -46.42)
CIE-LCHlch(61.66, 70.04, 318.49°)
OKLaboklab(69.13% 0.1328 -0.1292)
OKLCHoklch(69.13% 0.185 315.8)
XYZxyz(44.1338, 30.0043, 79.7948)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772E8 #93E872
analogous
#8C72E8 #C772E8 #E872CE
triadic
#C772E8 #E8C772 #72E8C7
tetradic
#C772E8 #E88C72 #93E872 #72CEE8
square
#C772E8 #E88C72 #93E872 #72CEE8
split-complementary
#C772E8 #CEE872 #72E88C
monochromatic
#931FC0 #B23DDF #C772E8 #DCA7F1 #F1DBF9

Accessibility & contrast

On white

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

On black

7.00
#C772E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772E8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772E8#FFFFFF#000000##000000
##C772E81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#7397E5
Tritanopia (blue-blind)
#C584A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c772e8;
/* rgb */ color: rgb(199, 114, 232);
/* oklch */ color: oklch(69.1% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#da9df0',
    500: '#c772e8',
    950: '#000000',
  },
}
SCSS
$custom: #c772e8;
$custom-light: #da9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#c772e8",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 283.22,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.18527,
    "h": 315.8
  },
  "luminance": 0.30003
}

Semantic roles & 50–950 ramp

primary
#C772E8
secondary
#D3EDC9
accent
#D41148
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C772E8

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

Preview Lab → · Contrast checker → · Palette generator →

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