#C772FD#C772FD

#C772FD is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.3% C 0.207 H 310.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C772FD
RGBrgb(199, 114, 253)
HSLhsl(277, 97%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(21.3%, 54.9%, 0%, 0.8%)
CIE-LABlab(62.73, 56.85, -56.33)
CIE-LCHlch(62.73, 80.03, 315.26°)
OKLaboklab(70.28% 0.1344 -0.1581)
OKLCHoklch(70.28% 0.207 310.4)
XYZxyz(47.2968, 31.2695, 96.4535)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772FD #A8FD72
analogous
#8272FD #C772FD #FD72ED
triadic
#C772FD #FDC772 #72FDC7
tetradic
#C772FD #FD8272 #A8FD72 #72EDFD
square
#C772FD #FD8272 #A8FD72 #72EDFD
split-complementary
#C772FD #EDFD72 #72FD82
monochromatic
#9503F1 #AF36FC #C772FD #DFAEFE #F3E1FF

Accessibility & contrast

On white

2.90
#C772FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C772FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C772FD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772FD#FFFFFF#000000##000000
##C772FD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#C08BAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c772fd;
/* rgb */ color: rgb(199, 114, 253);
/* oklch */ color: oklch(70.3% 0.207 310.4);
Tailwind
colors: {
  custom: {
    50: '#db9eff',
    500: '#c772fd',
    950: '#000000',
  },
}
SCSS
$custom: #c772fd;
$custom-light: #db9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c772fd",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 276.691,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.20745,
    "h": 310.4
  },
  "luminance": 0.31269
}

Semantic roles & 50–950 ramp

primary
#C772FD
secondary
#E2F7D4
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C772FD

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

Preview Lab → · Contrast checker → · Palette generator →

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