#C794CC#C794CC

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

Color values

HEX#C794CC
RGBrgb(199, 148, 204)
HSLhsl(295, 35%, 69%)
HSVhsv(295, 27%, 80%)
CMYKcmyk(2.5%, 27.5%, 0%, 20%)
CIE-LABlab(67.79, 28.67, -21.33)
CIE-LCHlch(67.79, 35.73, 323.36°)
OKLaboklab(73.36% 0.078 -0.0577)
OKLCHoklch(73.36% 0.097 323.5)
XYZxyz(45.0409, 37.6828, 62.0159)
Luminance0.3768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C794CC #99CC94
analogous
#AB94CC #C794CC #CC94B5
triadic
#C794CC #CCC794 #94CCC7
tetradic
#C794CC #CCAB94 #99CC94 #94B5CC
square
#C794CC #CCAB94 #99CC94 #94B5CC
split-complementary
#C794CC #B5CC94 #94CCAB
monochromatic
#944A9B #B16BB8 #C794CC #DDBDE0 #F2E7F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C794CC#FFFFFF#000000##000000
##C794CC1.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)
#8FA1CE
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#C999A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c794cc;
/* rgb */ color: rgb(199, 148, 204);
/* oklch */ color: oklch(73.4% 0.097 323.5);
Tailwind
colors: {
  custom: {
    50: '#d8b4db',
    500: '#c794cc',
    950: '#000000',
  },
}
SCSS
$custom: #c794cc;
$custom-light: #d8b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#c794cc",
  "rgb": {
    "r": 199,
    "g": 148,
    "b": 204
  },
  "hsl": {
    "h": 294.643,
    "s": 35.443,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.09708,
    "h": 323.5
  },
  "luminance": 0.37682
}

Semantic roles & 50–950 ramp

primary
#C794CC
secondary
#D7E6D6
accent
#AE3742
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C794CC

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

Preview Lab → · Contrast checker → · Palette generator →

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