#C772FE#C772FE

#C772FE is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.209 H 310.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C772FE
RGBrgb(199, 114, 254)
HSLhsl(276, 99%, 72%)
HSVhsv(276, 55%, 100%)
CMYKcmyk(21.7%, 55.1%, 0%, 0.4%)
CIE-LABlab(62.79, 57.06, -56.80)
CIE-LCHlch(62.79, 80.51, 315.13°)
OKLaboklab(70.33% 0.1344 -0.1594)
OKLCHoklch(70.33% 0.209 310.1)
XYZxyz(47.4565, 31.3334, 97.2947)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FE #A9FE72
analogous
#8172FE #C772FE #FE72EF
triadic
#C772FE #FEC772 #72FEC7
tetradic
#C772FE #FE8172 #A9FE72 #72EFFE
square
#C772FE #FE8172 #A9FE72 #72EFFE
split-complementary
#C772FE #EFFE72 #72FE81
monochromatic
#9502F4 #AF35FE #C772FE #DFAFFE #F3E1FF

Accessibility & contrast

On white

2.89
#C772FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C772FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FE#FFFFFF#000000##000000
##C772FE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#C08BAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c772fe;
/* rgb */ color: rgb(199, 114, 254);
/* oklch */ color: oklch(70.3% 0.209 310.1);
Tailwind
colors: {
  custom: {
    50: '#db9eff',
    500: '#c772fe',
    950: '#000000',
  },
}
SCSS
$custom: #c772fe;
$custom-light: #db9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c772fe",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 276.429,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.20851,
    "h": 310.1
  },
  "luminance": 0.31332
}

Semantic roles & 50–950 ramp

primary
#C772FE
secondary
#E2F7D4
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C772FE

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

Preview Lab → · Contrast checker → · Palette generator →

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