#C772EE#C772EE

#C772EE is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.192 H 314.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C772EE
RGBrgb(199, 114, 238)
HSLhsl(281, 78%, 69%)
HSVhsv(281, 52%, 93%)
CMYKcmyk(16.4%, 52.1%, 0%, 6.7%)
CIE-LABlab(61.96, 53.68, -49.28)
CIE-LCHlch(61.96, 72.88, 317.45°)
OKLaboklab(69.45% 0.1334 -0.1375)
OKLCHoklch(69.45% 0.192 314.1)
XYZxyz(45.0006, 30.3510, 84.3601)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772EE #99EE72
analogous
#8972EE #C772EE #EE72D7
triadic
#C772EE #EEC772 #72EEC7
tetradic
#C772EE #EE8972 #99EE72 #72D7EE
square
#C772EE #EE8972 #99EE72 #72D7EE
split-complementary
#C772EE #D7EE72 #72EE89
monochromatic
#9419CD #B13BE7 #C772EE #DDA9F5 #F2DFFB

Accessibility & contrast

On white

2.97
#C772EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C772EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772EE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772EE#FFFFFF#000000##000000
##C772EE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#C486A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c772ee;
/* rgb */ color: rgb(199, 114, 238);
/* oklch */ color: oklch(69.5% 0.192 314.1);
Tailwind
colors: {
  custom: {
    50: '#da9df4',
    500: '#c772ee',
    950: '#000000',
  },
}
SCSS
$custom: #c772ee;
$custom-light: #da9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#c772ee",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 281.129,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.19156,
    "h": 314.1
  },
  "luminance": 0.3035
}

Semantic roles & 50–950 ramp

primary
#C772EE
secondary
#D7F0CC
accent
#DB0B4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772EE

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

Preview Lab → · Contrast checker → · Palette generator →

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