#C796BF#C796BF

#C796BF is a light, moderate purple. Relative luminance 0.377; OKLCH L 73.2% C 0.080 H 332.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C796BF
RGBrgb(199, 150, 191)
HSLhsl(310, 30%, 68%)
HSVhsv(310, 25%, 78%)
CMYKcmyk(0%, 24.6%, 4%, 22%)
CIE-LABlab(67.81, 25.13, -14.05)
CIE-LCHlch(67.81, 28.79, 330.79°)
OKLaboklab(73.23% 0.071 -0.0376)
OKLCHoklch(73.23% 0.08 332.1)
XYZxyz(43.8627, 37.7178, 54.2498)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C796BF #96C79E
analogous
#B696C7 #C796BF #C796A6
triadic
#C796BF #BFC796 #96BFC7
tetradic
#C796BF #C7B696 #96C79E #96A6C7
square
#C796BF #C7B696 #96C79E #96A6C7
split-complementary
#C796BF #A6C796 #96C7B6
monochromatic
#944F89 #B26EA7 #C796BF #DCBED7 #F2E6F0

Accessibility & contrast

On white

2.46
#C796BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C796BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C796BF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C796BF#FFFFFF#000000##000000
##C796BF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A1C1
Deuteranopia (green-blind)
#A0A8BD
Tritanopia (blue-blind)
#CC98A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c796bf;
/* rgb */ color: rgb(199, 150, 191);
/* oklch */ color: oklch(73.2% 0.080 332.1);
Tailwind
colors: {
  custom: {
    50: '#d8b5d2',
    500: '#c796bf',
    950: '#000000',
  },
}
SCSS
$custom: #c796bf;
$custom-light: #d8b5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c796bf",
  "rgb": {
    "r": 199,
    "g": 150,
    "b": 191
  },
  "hsl": {
    "h": 309.796,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73231,
    "c": 0.08031,
    "h": 332.1
  },
  "luminance": 0.37716
}

Semantic roles & 50–950 ramp

primary
#C796BF
secondary
#D5E4D7
accent
#A94E3C
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C796BF

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

Preview Lab → · Contrast checker → · Palette generator →

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