#C795CD#C795CD

#C795CD is a light, moderate purple. Relative luminance 0.380; OKLCH L 73.6% C 0.096 H 322.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C795CD
RGBrgb(199, 149, 205)
HSLhsl(294, 36%, 69%)
HSVhsv(294, 27%, 80%)
CMYKcmyk(2.9%, 27.3%, 0%, 19.6%)
CIE-LABlab(68.05, 28.31, -21.47)
CIE-LCHlch(68.05, 35.53, 322.82°)
OKLaboklab(73.57% 0.0768 -0.0582)
OKLCHoklch(73.57% 0.096 322.9)
XYZxyz(45.3188, 38.0460, 62.7021)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795CD #9BCD95
analogous
#AB95CD #C795CD #CD95B7
triadic
#C795CD #CDC795 #95CDC7
tetradic
#C795CD #CDAB95 #9BCD95 #95B7CD
square
#C795CD #CDAB95 #9BCD95 #95B7CD
split-complementary
#C795CD #B7CD95 #95CDAB
monochromatic
#944A9D #B16BB9 #C795CD #DDBFE1 #F3E8F4

Accessibility & contrast

On white

2.44
#C795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795CD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795CD#FFFFFF#000000##000000
##C795CD1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#C99AA9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c795cd;
/* rgb */ color: rgb(199, 149, 205);
/* oklch */ color: oklch(73.6% 0.096 322.9);
Tailwind
colors: {
  custom: {
    50: '#d8b4dc',
    500: '#c795cd',
    950: '#000000',
  },
}
SCSS
$custom: #c795cd;
$custom-light: #d8b4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c795cd",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 293.571,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.09636,
    "h": 322.9
  },
  "luminance": 0.38045
}

Semantic roles & 50–950 ramp

primary
#C795CD
secondary
#D9E7D7
accent
#AF3744
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C795CD

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

Preview Lab → · Contrast checker → · Palette generator →

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