#C792CD#C792CD

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

Color values

HEX#C792CD
RGBrgb(199, 146, 205)
HSLhsl(294, 37%, 69%)
HSVhsv(294, 29%, 80%)
CMYKcmyk(2.9%, 28.8%, 0%, 19.6%)
CIE-LABlab(67.36, 29.96, -22.53)
CIE-LCHlch(67.36, 37.49, 323.05°)
OKLaboklab(73.04% 0.0814 -0.0611)
OKLCHoklch(73.04% 0.102 323.1)
XYZxyz(44.8502, 37.1089, 62.5459)
Luminance0.3711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792CD #98CD92
analogous
#AA92CD #C792CD #CD92B6
triadic
#C792CD #CDC792 #92CDC7
tetradic
#C792CD #CDAA92 #98CD92 #92B6CD
square
#C792CD #CDAA92 #98CD92 #92B6CD
split-complementary
#C792CD #B6CD92 #92CDAA
monochromatic
#94489D #B168BA #C792CD #DDBCE0 #F2E6F3

Accessibility & contrast

On white

2.49
#C792CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C792CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792CD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792CD#FFFFFF#000000##000000
##C792CD1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c792cd;
/* rgb */ color: rgb(199, 146, 205);
/* oklch */ color: oklch(73.0% 0.102 323.1);
Tailwind
colors: {
  custom: {
    50: '#d8b2dc',
    500: '#c792cd',
    950: '#000000',
  },
}
SCSS
$custom: #c792cd;
$custom-light: #d8b2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c792cd",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 205
  },
  "hsl": {
    "h": 293.898,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.10176,
    "h": 323.1
  },
  "luminance": 0.37108
}

Semantic roles & 50–950 ramp

primary
#C792CD
secondary
#D6E6D5
accent
#B03542
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C792CD

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

Preview Lab → · Contrast checker → · Palette generator →

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