#C772FB#C772FB

#C772FB is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.2% C 0.205 H 310.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C772FB
RGBrgb(199, 114, 251)
HSLhsl(277, 94%, 72%)
HSVhsv(277, 55%, 98%)
CMYKcmyk(20.7%, 54.6%, 0%, 1.6%)
CIE-LABlab(62.63, 56.42, -55.40)
CIE-LCHlch(62.63, 79.07, 315.52°)
OKLaboklab(70.16% 0.1343 -0.1553)
OKLCHoklch(70.16% 0.205 310.8)
XYZxyz(46.9799, 31.1427, 94.7844)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FB #A6FB72
analogous
#8372FB #C772FB #FB72EB
triadic
#C772FB #FBC772 #72FBC7
tetradic
#C772FB #FB8372 #A6FB72 #72EBFB
square
#C772FB #FB8372 #A6FB72 #72EBFB
split-complementary
#C772FB #EBFB72 #72FB83
monochromatic
#9507EC #AF36F9 #C772FB #DFAEFD #F3E1FE

Accessibility & contrast

On white

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

On black

7.23
#C772FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FB#FFFFFF#000000##000000
##C772FB1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#C18AAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772fb;
/* rgb */ color: rgb(199, 114, 251);
/* oklch */ color: oklch(70.2% 0.205 310.8);
Tailwind
colors: {
  custom: {
    50: '#db9efd',
    500: '#c772fb',
    950: '#000000',
  },
}
SCSS
$custom: #c772fb;
$custom-light: #db9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#c772fb",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 277.226,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70164,
    "c": 0.20532,
    "h": 310.8
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

primary
#C772FB
secondary
#E0F6D3
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C772FB

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

Preview Lab → · Contrast checker → · Palette generator →

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