#C772FC#C772FC

#C772FC is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.2% C 0.206 H 310.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C772FC
RGBrgb(199, 114, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(21%, 54.8%, 0%, 1.2%)
CIE-LABlab(62.68, 56.63, -55.87)
CIE-LCHlch(62.68, 79.55, 315.39°)
OKLaboklab(70.22% 0.1343 -0.1567)
OKLCHoklch(70.22% 0.206 310.6)
XYZxyz(47.1379, 31.2059, 95.6167)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FC #A7FC72
analogous
#8272FC #C772FC #FC72EC
triadic
#C772FC #FCC772 #72FCC7
tetradic
#C772FC #FC8272 #A7FC72 #72ECFC
square
#C772FC #FC8272 #A7FC72 #72ECFC
split-complementary
#C772FC #ECFC72 #72FC82
monochromatic
#9505EF #AF36FB #C772FC #DFAEFD #F3E1FE

Accessibility & contrast

On white

2.90
#C772FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C772FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FC#FFFFFF#000000##000000
##C772FC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#C08AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c772fc;
/* rgb */ color: rgb(199, 114, 252);
/* oklch */ color: oklch(70.2% 0.206 310.6);
Tailwind
colors: {
  custom: {
    50: '#db9efe',
    500: '#c772fc',
    950: '#000000',
  },
}
SCSS
$custom: #c772fc;
$custom-light: #db9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#c772fc",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 276.957,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7022,
    "c": 0.20638,
    "h": 310.6
  },
  "luminance": 0.31205
}

Semantic roles & 50–950 ramp

primary
#C772FC
secondary
#E1F6D3
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C772FC

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

Preview Lab → · Contrast checker → · Palette generator →

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