#C772EA#C772EA

#C772EA is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.2% C 0.187 H 315.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C772EA
RGBrgb(199, 114, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 51%, 92%)
CMYKcmyk(15%, 51.3%, 0%, 8.2%)
CIE-LABlab(61.76, 52.86, -47.38)
CIE-LCHlch(61.76, 70.98, 318.13°)
OKLaboklab(69.24% 0.133 -0.132)
OKLCHoklch(69.24% 0.187 315.2)
XYZxyz(44.4195, 30.1186, 81.2995)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772EA #95EA72
analogous
#8B72EA #C772EA #EA72D1
triadic
#C772EA #EAC772 #72EAC7
tetradic
#C772EA #EA8B72 #95EA72 #72D1EA
square
#C772EA #EA8B72 #95EA72 #72D1EA
split-complementary
#C772EA #D1EA72 #72EA8B
monochromatic
#941DC4 #B23DE2 #C772EA #DCA7F2 #F1DDFA

Accessibility & contrast

On white

2.99
#C772EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C772EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772EA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772EA#FFFFFF#000000##000000
##C772EA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#C585A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c772ea;
/* rgb */ color: rgb(199, 114, 234);
/* oklch */ color: oklch(69.2% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#da9df1',
    500: '#c772ea',
    950: '#000000',
  },
}
SCSS
$custom: #c772ea;
$custom-light: #da9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c772ea",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 282.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69239,
    "c": 0.18736,
    "h": 315.2
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#C772EA
secondary
#D4EECA
accent
#D60F49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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