#C772EB#C772EB

#C772EB is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.188 H 314.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C772EB
RGBrgb(199, 114, 235)
HSLhsl(282, 75%, 68%)
HSVhsv(282, 51%, 92%)
CMYKcmyk(15.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(61.81, 53.06, -47.86)
CIE-LCHlch(61.81, 71.46, 317.95°)
OKLaboklab(69.29% 0.1331 -0.1334)
OKLCHoklch(69.29% 0.188 314.9)
XYZxyz(44.5635, 30.1762, 82.0582)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772EB #96EB72
analogous
#8A72EB #C772EB #EB72D2
triadic
#C772EB #EBC772 #72EBC7
tetradic
#C772EB #EB8A72 #96EB72 #72D2EB
square
#C772EB #EB8A72 #96EB72 #72D2EB
split-complementary
#C772EB #D2EB72 #72EB8A
monochromatic
#941CC6 #B23CE3 #C772EB #DCA8F3 #F2DDFA

Accessibility & contrast

On white

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

On black

7.04
#C772EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772EB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772EB#FFFFFF#000000##000000
##C772EB1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#C585A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c772eb;
/* rgb */ color: rgb(199, 114, 235);
/* oklch */ color: oklch(69.3% 0.188 314.9);
Tailwind
colors: {
  custom: {
    50: '#da9df2',
    500: '#c772eb',
    950: '#000000',
  },
}
SCSS
$custom: #c772eb;
$custom-light: #da9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c772eb",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 282.149,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69292,
    "c": 0.18841,
    "h": 314.9
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#C772EB
secondary
#D5EFCA
accent
#D70E4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C772EB

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

Preview Lab → · Contrast checker → · Palette generator →

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