#C772F9#C772F9

#C772F9 is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.1% C 0.203 H 311.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C772F9
RGBrgb(199, 114, 249)
HSLhsl(278, 92%, 71%)
HSVhsv(278, 54%, 98%)
CMYKcmyk(20.1%, 54.2%, 0%, 2.4%)
CIE-LABlab(62.52, 55.99, -54.47)
CIE-LCHlch(62.52, 78.11, 315.79°)
OKLaboklab(70.05% 0.1342 -0.1526)
OKLCHoklch(70.05% 0.203 311.3)
XYZxyz(46.6663, 31.0173, 93.1328)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F9 #A4F972
analogous
#8372F9 #C772F9 #F972E7
triadic
#C772F9 #F9C772 #72F9C7
tetradic
#C772F9 #F98372 #A4F972 #72E7F9
square
#C772F9 #F98372 #A4F972 #72E7F9
split-complementary
#C772F9 #E7F972 #72F983
monochromatic
#950AE7 #B037F7 #C772F9 #DEADFB #F3E2FE

Accessibility & contrast

On white

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

On black

7.20
#C772F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F9#FFFFFF#000000##000000
##C772F91.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#C189AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772f9;
/* rgb */ color: rgb(199, 114, 249);
/* oklch */ color: oklch(70.1% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#db9efc',
    500: '#c772f9',
    950: '#000000',
  },
}
SCSS
$custom: #c772f9;
$custom-light: #db9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f9",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 277.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70052,
    "c": 0.2032,
    "h": 311.3
  },
  "luminance": 0.31016
}

Semantic roles & 50–950 ramp

primary
#C772F9
secondary
#DFF5D2
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F9

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

Preview Lab → · Contrast checker → · Palette generator →

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