#C772F8#C772F8

#C772F8 is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.0% C 0.202 H 311.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C772F8
RGBrgb(199, 114, 248)
HSLhsl(278, 91%, 71%)
HSVhsv(278, 54%, 97%)
CMYKcmyk(19.8%, 54%, 0%, 2.7%)
CIE-LABlab(62.47, 55.78, -54.00)
CIE-LCHlch(62.47, 77.64, 315.93°)
OKLaboklab(70% 0.1341 -0.1513)
OKLCHoklch(70% 0.202 311.6)
XYZxyz(46.5107, 30.9551, 92.3135)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F8 #A3F872
analogous
#8472F8 #C772F8 #F872E6
triadic
#C772F8 #F8C772 #72F8C7
tetradic
#C772F8 #F88472 #A3F872 #72E6F8
square
#C772F8 #F88472 #A3F872 #72E6F8
split-complementary
#C772F8 #E6F872 #72F884
monochromatic
#950BE4 #B038F5 #C772F8 #DEACFB #F3E2FE

Accessibility & contrast

On white

2.92
#C772F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C772F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F8#FFFFFF#000000##000000
##C772F81.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#C189AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772f8;
/* rgb */ color: rgb(199, 114, 248);
/* oklch */ color: oklch(70.0% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#db9efb',
    500: '#c772f8',
    950: '#000000',
  },
}
SCSS
$custom: #c772f8;
$custom-light: #db9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f8",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 278.06,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.20214,
    "h": 311.6
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#C772F8
secondary
#DEF5D1
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F8

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

Preview Lab → · Contrast checker → · Palette generator →

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