#C772FA#C772FA

#C772FA is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.1% C 0.204 H 311.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C772FA
RGBrgb(199, 114, 250)
HSLhsl(278, 93%, 71%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(20.4%, 54.4%, 0%, 2%)
CIE-LABlab(62.57, 56.20, -54.93)
CIE-LCHlch(62.57, 78.59, 315.66°)
OKLaboklab(70.11% 0.1342 -0.154)
OKLCHoklch(70.11% 0.204 311.1)
XYZxyz(46.8227, 31.0798, 93.9564)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FA #A5FA72
analogous
#8372FA #C772FA #FA72E9
triadic
#C772FA #FAC772 #72FAC7
tetradic
#C772FA #FA8372 #A5FA72 #72E9FA
square
#C772FA #FA8372 #A5FA72 #72E9FA
split-complementary
#C772FA #E9FA72 #72FA83
monochromatic
#9508E9 #B037F8 #C772FA #DEADFC #F3E1FE

Accessibility & contrast

On white

2.91
#C772FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C772FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FA#FFFFFF#000000##000000
##C772FA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#C18AAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772fa;
/* rgb */ color: rgb(199, 114, 250);
/* oklch */ color: oklch(70.1% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#db9efc',
    500: '#c772fa',
    950: '#000000',
  },
}
SCSS
$custom: #c772fa;
$custom-light: #db9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#c772fa",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 277.5,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70108,
    "c": 0.20426,
    "h": 311.1
  },
  "luminance": 0.31079
}

Semantic roles & 50–950 ramp

primary
#C772FA
secondary
#DFF6D2
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C772FA

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

Preview Lab → · Contrast checker → · Palette generator →

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