#C792CB#C792CB

#C792CB is a light, moderate purple. Relative luminance 0.370; OKLCH L 73.0% C 0.100 H 324.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C792CB
RGBrgb(199, 146, 203)
HSLhsl(296, 35%, 68%)
HSVhsv(296, 28%, 80%)
CMYKcmyk(2%, 28.1%, 0%, 20.4%)
CIE-LABlab(67.29, 29.58, -21.53)
CIE-LCHlch(67.29, 36.58, 323.95°)
OKLaboklab(72.96% 0.0808 -0.0583)
OKLCHoklch(72.96% 0.1 324.2)
XYZxyz(44.6104, 37.0130, 61.2826)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792CB #96CB92
analogous
#AA92CB #C792CB #CB92B2
triadic
#C792CB #CBC792 #92CBC7
tetradic
#C792CB #CBAA92 #96CB92 #92B2CB
square
#C792CB #CBAA92 #96CB92 #92B2CB
split-complementary
#C792CB #B2CB92 #92CBAA
monochromatic
#944999 #B269B7 #C792CB #DCBBDF #F2E5F3

Accessibility & contrast

On white

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

On black

8.40
#C792CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792CB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792CB#FFFFFF#000000##000000
##C792CB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#9AA6C9
Tritanopia (blue-blind)
#CA97A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c792cb;
/* rgb */ color: rgb(199, 146, 203);
/* oklch */ color: oklch(73.0% 0.100 324.2);
Tailwind
colors: {
  custom: {
    50: '#d8b2db',
    500: '#c792cb',
    950: '#000000',
  },
}
SCSS
$custom: #c792cb;
$custom-light: #d8b2db;
$custom-dark: #000000;
JSON
{
  "hex": "#c792cb",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 203
  },
  "hsl": {
    "h": 295.789,
    "s": 35.404,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.09963,
    "h": 324.2
  },
  "luminance": 0.37012
}

Semantic roles & 50–950 ramp

primary
#C792CB
secondary
#D5E5D4
accent
#AE3740
background
#FDFBFD
surface
#FAF6FA
border
#D3D0D3
text
#141115
muted
#838083

Preview Lab

Preview with #C792CB

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

Preview Lab → · Contrast checker → · Palette generator →

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