#C772F6#C772F6

#C772F6 is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.200 H 312.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C772F6
RGBrgb(199, 114, 246)
HSLhsl(279, 88%, 71%)
HSVhsv(279, 54%, 96%)
CMYKcmyk(19.1%, 53.7%, 0%, 3.5%)
CIE-LABlab(62.37, 55.36, -53.06)
CIE-LCHlch(62.37, 76.68, 316.21°)
OKLaboklab(69.88% 0.134 -0.1485)
OKLCHoklch(69.88% 0.2 312.1)
XYZxyz(46.2021, 30.8316, 90.6881)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F6 #A1F672
analogous
#8572F6 #C772F6 #F672E3
triadic
#C772F6 #F6C772 #72F6C7
tetradic
#C772F6 #F68572 #A1F672 #72E3F6
square
#C772F6 #F68572 #A1F672 #72E3F6
split-complementary
#C772F6 #E3F672 #72F685
monochromatic
#950EDF #B038F2 #C772F6 #DEACFA #F4E2FD

Accessibility & contrast

On white

2.93
#C772F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C772F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F6#FFFFFF#000000##000000
##C772F61.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c772f6;
/* rgb */ color: rgb(199, 114, 246);
/* oklch */ color: oklch(69.9% 0.200 312.1);
Tailwind
colors: {
  custom: {
    50: '#db9dfa',
    500: '#c772f6',
    950: '#000000',
  },
}
SCSS
$custom: #c772f6;
$custom-light: #db9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f6",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 278.636,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.20002,
    "h": 312.1
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#C772F6
secondary
#DDF4D0
accent
#E50152
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F6

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

Preview Lab → · Contrast checker → · Palette generator →

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