#C772F5#C772F5

#C772F5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.8% C 0.199 H 312.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C772F5
RGBrgb(199, 114, 245)
HSLhsl(279, 87%, 70%)
HSVhsv(279, 53%, 96%)
CMYKcmyk(18.8%, 53.5%, 0%, 3.9%)
CIE-LABlab(62.31, 55.15, -52.59)
CIE-LCHlch(62.31, 76.20, 316.36°)
OKLaboklab(69.83% 0.1339 -0.1471)
OKLCHoklch(69.83% 0.199 312.3)
XYZxyz(46.0490, 30.7704, 89.8820)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F5 #A0F572
analogous
#8572F5 #C772F5 #F572E2
triadic
#C772F5 #F5C772 #72F5C7
tetradic
#C772F5 #F58572 #A0F572 #72E2F5
square
#C772F5 #F58572 #A0F572 #72E2F5
split-complementary
#C772F5 #E2F572 #72F585
monochromatic
#9510DD #B039F1 #C772F5 #DEABF9 #F4E2FD

Accessibility & contrast

On white

2.94
#C772F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C772F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F5#FFFFFF#000000##000000
##C772F51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#C288A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772f5;
/* rgb */ color: rgb(199, 114, 245);
/* oklch */ color: oklch(69.8% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#db9df9',
    500: '#c772f5',
    950: '#000000',
  },
}
SCSS
$custom: #c772f5;
$custom-light: #db9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f5",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 278.931,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.19895,
    "h": 312.3
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#C772F5
secondary
#DCF3CF
accent
#E30251
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F5

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

Preview Lab → · Contrast checker → · Palette generator →

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