#C772FF#C772FF

#C772FF is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.4% C 0.210 H 309.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C772FF
RGBrgb(199, 114, 255)
HSLhsl(276, 100%, 72%)
HSVhsv(276, 55%, 100%)
CMYKcmyk(22%, 55.3%, 0%, 0%)
CIE-LABlab(62.84, 57.28, -57.26)
CIE-LCHlch(62.84, 80.99, 315.01°)
OKLaboklab(70.39% 0.1344 -0.1608)
OKLCHoklch(70.39% 0.21 309.9)
XYZxyz(47.6171, 31.3976, 98.1403)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FF #AAFF72
analogous
#8072FF #C772FF #FF72F1
triadic
#C772FF #FFC772 #72FFC7
tetradic
#C772FF #FF8072 #AAFF72 #72F1FF
square
#C772FF #FF8072 #AAFF72 #72F1FF
split-complementary
#C772FF #F1FF72 #72FF80
monochromatic
#9500F7 #AF35FF #C772FF #DFAFFF #F3E0FF

Accessibility & contrast

On white

2.88
#C772FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C772FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FF#FFFFFF#000000##000000
##C772FF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#6499FC
Tritanopia (blue-blind)
#C08BAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c772ff;
/* rgb */ color: rgb(199, 114, 255);
/* oklch */ color: oklch(70.4% 0.210 309.9);
Tailwind
colors: {
  custom: {
    50: '#db9eff',
    500: '#c772ff',
    950: '#000000',
  },
}
SCSS
$custom: #c772ff;
$custom-light: #db9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c772ff",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 276.17,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.20958,
    "h": 309.9
  },
  "luminance": 0.31397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C772FF

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

Preview Lab → · Contrast checker → · Palette generator →

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