#C794CD#C794CD

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

Color values

HEX#C794CD
RGBrgb(199, 148, 205)
HSLhsl(294, 36%, 69%)
HSVhsv(294, 28%, 80%)
CMYKcmyk(2.9%, 27.8%, 0%, 19.6%)
CIE-LABlab(67.82, 28.86, -21.83)
CIE-LCHlch(67.82, 36.19, 322.90°)
OKLaboklab(73.4% 0.0783 -0.0592)
OKLCHoklch(73.4% 0.098 322.9)
XYZxyz(45.1612, 37.7309, 62.6496)
Luminance0.3773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C794CD #9ACD94
analogous
#AB94CD #C794CD #CD94B7
triadic
#C794CD #CDC794 #94CDC7
tetradic
#C794CD #CDAB94 #9ACD94 #94B7CD
square
#C794CD #CDAB94 #9ACD94 #94B7CD
split-complementary
#C794CD #B7CD94 #94CDAB
monochromatic
#94499D #B16ABA #C794CD #DDBEE0 #F3E7F4

Accessibility & contrast

On white

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

On black

8.55
#C794CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C794CD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C794CD#FFFFFF#000000##000000
##C794CD1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CF
Deuteranopia (green-blind)
#9BA7CB
Tritanopia (blue-blind)
#C99AA8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c794cd;
/* rgb */ color: rgb(199, 148, 205);
/* oklch */ color: oklch(73.4% 0.098 322.9);
Tailwind
colors: {
  custom: {
    50: '#d8b4dc',
    500: '#c794cd',
    950: '#000000',
  },
}
SCSS
$custom: #c794cd;
$custom-light: #d8b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c794cd",
  "rgb": {
    "r": 199,
    "g": 148,
    "b": 205
  },
  "hsl": {
    "h": 293.684,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73396,
    "c": 0.09816,
    "h": 322.9
  },
  "luminance": 0.3773
}

Semantic roles & 50–950 ramp

primary
#C794CD
secondary
#D8E7D6
accent
#AF3643
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C794CD

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

Preview Lab → · Contrast checker → · Palette generator →

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