#C772F7#C772F7

#C772F7 is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.201 H 311.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C772F7
RGBrgb(199, 114, 247)
HSLhsl(278, 89%, 71%)
HSVhsv(278, 54%, 97%)
CMYKcmyk(19.4%, 53.8%, 0%, 3.1%)
CIE-LABlab(62.42, 55.57, -53.53)
CIE-LCHlch(62.42, 77.16, 316.07°)
OKLaboklab(69.94% 0.134 -0.1499)
OKLCHoklch(69.94% 0.201 311.8)
XYZxyz(46.3560, 30.8932, 91.4987)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772F7 #A2F772
analogous
#8472F7 #C772F7 #F772E4
triadic
#C772F7 #F7C772 #72F7C7
tetradic
#C772F7 #F78472 #A2F772 #72E4F7
square
#C772F7 #F78472 #A2F772 #72E4F7
split-complementary
#C772F7 #E4F772 #72F784
monochromatic
#950DE2 #B038F4 #C772F7 #DEACFA #F3E2FD

Accessibility & contrast

On white

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

On black

7.18
#C772F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772F7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772F7#FFFFFF#000000##000000
##C772F71.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#C289AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c772f7;
/* rgb */ color: rgb(199, 114, 247);
/* oklch */ color: oklch(69.9% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#db9efa',
    500: '#c772f7',
    950: '#000000',
  },
}
SCSS
$custom: #c772f7;
$custom-light: #db9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#c772f7",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 278.346,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.20107,
    "h": 311.8
  },
  "luminance": 0.30892
}

Semantic roles & 50–950 ramp

primary
#C772F7
secondary
#DDF4D1
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C772F7

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

Preview Lab → · Contrast checker → · Palette generator →

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