#C792CC#C792CC

#C792CC is a light, moderate purple. Relative luminance 0.371; OKLCH L 73.0% C 0.101 H 323.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C792CC
RGBrgb(199, 146, 204)
HSLhsl(295, 36%, 69%)
HSVhsv(295, 28%, 80%)
CMYKcmyk(2.5%, 28.4%, 0%, 20%)
CIE-LABlab(67.32, 29.77, -22.03)
CIE-LCHlch(67.32, 37.03, 323.49°)
OKLaboklab(73% 0.0811 -0.0597)
OKLCHoklch(73% 0.101 323.6)
XYZxyz(44.7299, 37.0608, 61.9122)
Luminance0.3706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792CC #97CC92
analogous
#AA92CC #C792CC #CC92B4
triadic
#C792CC #CCC792 #92CCC7
tetradic
#C792CC #CCAA92 #97CC92 #92B4CC
square
#C792CC #CCAA92 #97CC92 #92B4CC
split-complementary
#C792CC #B4CC92 #92CCAA
monochromatic
#94499B #B268B8 #C792CC #DCBCE0 #F2E5F3

Accessibility & contrast

On white

2.50
#C792CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C792CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792CC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792CC#FFFFFF#000000##000000
##C792CC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#99A6CA
Tritanopia (blue-blind)
#C998A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c792cc;
/* rgb */ color: rgb(199, 146, 204);
/* oklch */ color: oklch(73.0% 0.101 323.6);
Tailwind
colors: {
  custom: {
    50: '#d8b2db',
    500: '#c792cc',
    950: '#000000',
  },
}
SCSS
$custom: #c792cc;
$custom-light: #d8b2db;
$custom-dark: #000000;
JSON
{
  "hex": "#c792cc",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 204
  },
  "hsl": {
    "h": 294.828,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73003,
    "c": 0.10069,
    "h": 323.6
  },
  "luminance": 0.3706
}

Semantic roles & 50–950 ramp

primary
#C792CC
secondary
#D6E6D4
accent
#AF3641
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C792CC

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

Preview Lab → · Contrast checker → · Palette generator →

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