#C772EC#C772EC

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

Color values

HEX#C772EC
RGBrgb(199, 114, 236)
HSLhsl(282, 76%, 69%)
HSVhsv(282, 52%, 93%)
CMYKcmyk(15.7%, 51.7%, 0%, 7.5%)
CIE-LABlab(61.86, 53.27, -48.33)
CIE-LCHlch(61.86, 71.93, 317.78°)
OKLaboklab(69.35% 0.1332 -0.1348)
OKLCHoklch(69.35% 0.189 314.7)
XYZxyz(44.7084, 30.2341, 82.8213)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772EC #97EC72
analogous
#8A72EC #C772EC #EC72D4
triadic
#C772EC #ECC772 #72ECC7
tetradic
#C772EC #EC8A72 #97EC72 #72D4EC
square
#C772EC #EC8A72 #97EC72 #72D4EC
split-complementary
#C772EC #D4EC72 #72EC8A
monochromatic
#941BC9 #B23CE5 #C772EC #DCA8F3 #F2DEFB

Accessibility & contrast

On white

2.98
#C772EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#C772EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772EC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772EC#FFFFFF#000000##000000
##C772EC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#C485A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c772ec;
/* rgb */ color: rgb(199, 114, 236);
/* oklch */ color: oklch(69.3% 0.189 314.7);
Tailwind
colors: {
  custom: {
    50: '#da9df2',
    500: '#c772ec',
    950: '#000000',
  },
}
SCSS
$custom: #c772ec;
$custom-light: #da9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c772ec",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 281.803,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69345,
    "c": 0.18947,
    "h": 314.7
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#C772EC
secondary
#D6EFCB
accent
#D80D4B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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