#C772EF#C772EF

#C772EF is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.193 H 313.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C772EF
RGBrgb(199, 114, 239)
HSLhsl(281, 80%, 69%)
HSVhsv(281, 52%, 94%)
CMYKcmyk(16.7%, 52.3%, 0%, 6.3%)
CIE-LABlab(62.01, 53.89, -49.76)
CIE-LCHlch(62.01, 73.35, 317.28°)
OKLaboklab(69.51% 0.1335 -0.1389)
OKLCHoklch(69.51% 0.193 313.9)
XYZxyz(45.1479, 30.4099, 85.1360)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772EF #9AEF72
analogous
#8972EF #C772EF #EF72D9
triadic
#C772EF #EFC772 #72EFC7
tetradic
#C772EF #EF8972 #9AEF72 #72D9EF
square
#C772EF #EF8972 #9AEF72 #72D9EF
split-complementary
#C772EF #D9EF72 #72EF89
monochromatic
#9418CF #B13BE9 #C772EF #DDA9F5 #F3E0FB

Accessibility & contrast

On white

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

On black

7.08
#C772EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772EF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772EF#FFFFFF#000000##000000
##C772EF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#C486A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c772ef;
/* rgb */ color: rgb(199, 114, 239);
/* oklch */ color: oklch(69.5% 0.193 313.9);
Tailwind
colors: {
  custom: {
    50: '#da9df5',
    500: '#c772ef',
    950: '#000000',
  },
}
SCSS
$custom: #c772ef;
$custom-light: #da9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c772ef",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 280.8,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.19262,
    "h": 313.9
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#C772EF
secondary
#D8F1CC
accent
#DC0A4D
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772EF

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

Preview Lab → · Contrast checker → · Palette generator →

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