#C772DF#C772DF

#C772DF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.176 H 318.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#C772DF
RGBrgb(199, 114, 223)
HSLhsl(287, 63%, 66%)
HSVhsv(287, 49%, 87%)
CMYKcmyk(10.8%, 48.9%, 0%, 12.5%)
CIE-LABlab(61.23, 50.63, -42.08)
CIE-LCHlch(61.23, 65.84, 320.27°)
OKLaboklab(68.67% 0.1317 -0.1166)
OKLCHoklch(68.67% 0.176 318.5)
XYZxyz(42.8880, 29.5060, 73.2338)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C772DF #8ADF72
analogous
#9072DF #C772DF #DF72C0
triadic
#C772DF #DFC772 #72DFC7
tetradic
#C772DF #DF9072 #8ADF72 #72C0DF
square
#C772DF #DF9072 #8ADF72 #72C0DF
split-complementary
#C772DF #C0DF72 #72DF90
monochromatic
#9128AF #B340D4 #C772DF #DBA4EA #EFD6F6

Accessibility & contrast

On white

3.04
#C772DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C772DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C772DF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C772DF#FFFFFF#000000##000000
##C772DF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#C7819E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c772df;
/* rgb */ color: rgb(199, 114, 223);
/* oklch */ color: oklch(68.7% 0.176 318.5);
Tailwind
colors: {
  custom: {
    50: '#da9de9',
    500: '#c772df',
    950: '#000000',
  },
}
SCSS
$custom: #c772df;
$custom-light: #da9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#c772df",
  "rgb": {
    "r": 199,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 286.789,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68673,
    "c": 0.17594,
    "h": 318.5
  },
  "luminance": 0.29504
}

Semantic roles & 50–950 ramp

primary
#C772DF
secondary
#CCE8C4
accent
#CB1B41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C772DF

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

Preview Lab → · Contrast checker → · Palette generator →

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