#C772F2#C772F2

#C772F2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.7% C 0.196 H 313.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C772F2
RGBrgb(199, 114, 242)
HSLhsl(280, 83%, 70%)
HSVhsv(280, 53%, 95%)
CMYKcmyk(17.8%, 52.9%, 0%, 5.1%)
CIE-LABlab(62.16, 54.52, -51.18)
CIE-LCHlch(62.16, 74.77, 316.81°)
OKLaboklab(69.67% 0.1337 -0.143)
OKLCHoklch(69.67% 0.196 313.1)
XYZxyz(45.5948, 30.5887, 87.4895)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F2 #9DF272
analogous
#8772F2 #C772F2 #F272DD
triadic
#C772F2 #F2C772 #72F2C7
tetradic
#C772F2 #F28772 #9DF272 #72DDF2
square
#C772F2 #F28772 #9DF272 #72DDF2
split-complementary
#C772F2 #DDF272 #72F287
monochromatic
#9514D6 #B13AED #C772F2 #DDAAF7 #F4E2FC

Accessibility & contrast

On white

2.95
#C772F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C772F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F2#FFFFFF#000000##000000
##C772F21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#C387A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c772f2;
/* rgb */ color: rgb(199, 114, 242);
/* oklch */ color: oklch(69.7% 0.196 313.1);
Tailwind
colors: {
  custom: {
    50: '#db9df7',
    500: '#c772f2',
    950: '#000000',
  },
}
SCSS
$custom: #c772f2;
$custom-light: #db9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f2",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 279.844,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69667,
    "c": 0.19578,
    "h": 313.1
  },
  "luminance": 0.30588
}

Semantic roles & 50–950 ramp

primary
#C772F2
secondary
#DAF2CE
accent
#E0064F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F2

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

Preview Lab → · Contrast checker → · Palette generator →

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