#C796CA#C796CA

#C796CA is a light, moderate purple. Relative luminance 0.382; OKLCH L 73.6% C 0.091 H 324.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#C796CA
RGBrgb(199, 150, 202)
HSLhsl(297, 33%, 69%)
HSVhsv(297, 26%, 79%)
CMYKcmyk(1.5%, 25.7%, 0%, 20.8%)
CIE-LABlab(68.18, 27.18, -19.61)
CIE-LCHlch(68.18, 33.52, 324.19°)
OKLaboklab(73.64% 0.0744 -0.053)
OKLCHoklch(73.64% 0.091 324.5)
XYZxyz(45.1190, 38.2203, 60.8662)
Luminance0.3822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C796CA #99CA96
analogous
#AD96CA #C796CA #CA96B3
triadic
#C796CA #CAC796 #96CAC7
tetradic
#C796CA #CAAD96 #99CA96 #96B3CA
square
#C796CA #CAAD96 #99CA96 #96B3CA
split-complementary
#C796CA #B3CA96 #96CAAD
monochromatic
#944D99 #B16DB5 #C796CA #DDBFDF #F2E7F3

Accessibility & contrast

On white

2.43
#C796CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#C796CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C796CA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C796CA#FFFFFF#000000##000000
##C796CA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CC
Deuteranopia (green-blind)
#9DA8C8
Tritanopia (blue-blind)
#CA9BA8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c796ca;
/* rgb */ color: rgb(199, 150, 202);
/* oklch */ color: oklch(73.6% 0.091 324.5);
Tailwind
colors: {
  custom: {
    50: '#d8b5da',
    500: '#c796ca',
    950: '#000000',
  },
}
SCSS
$custom: #c796ca;
$custom-light: #d8b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#c796ca",
  "rgb": {
    "r": 199,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 296.538,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73637,
    "c": 0.09134,
    "h": 324.5
  },
  "luminance": 0.38219
}

Semantic roles & 50–950 ramp

primary
#C796CA
secondary
#D7E6D6
accent
#AC3A40
background
#FDFBFD
surface
#FAF6FA
border
#D3D0D3
text
#141114
muted
#838083

Preview Lab

Preview with #C796CA

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

Preview Lab → · Contrast checker → · Palette generator →

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