#C795CC#C795CC

#C795CC is a light, moderate purple. Relative luminance 0.380; OKLCH L 73.5% C 0.095 H 323.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C795CC
RGBrgb(199, 149, 204)
HSLhsl(295, 35%, 69%)
HSVhsv(295, 27%, 80%)
CMYKcmyk(2.5%, 27%, 0%, 20%)
CIE-LABlab(68.02, 28.12, -20.97)
CIE-LCHlch(68.02, 35.08, 323.28°)
OKLaboklab(73.54% 0.0765 -0.0568)
OKLCHoklch(73.54% 0.095 323.4)
XYZxyz(45.1984, 37.9979, 62.0684)
Luminance0.3800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795CC #9ACC95
analogous
#AC95CC #C795CC #CC95B6
triadic
#C795CC #CCC795 #95CCC7
tetradic
#C795CC #CCAC95 #9ACC95 #95B6CC
square
#C795CC #CCAC95 #9ACC95 #95B6CC
split-complementary
#C795CC #B6CC95 #95CCAC
monochromatic
#944B9C #B16CB8 #C795CC #DDBEE0 #F3E8F4

Accessibility & contrast

On white

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

On black

8.60
#C795CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795CC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795CC#FFFFFF#000000##000000
##C795CC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#9CA8CA
Tritanopia (blue-blind)
#C99AA8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c795cc;
/* rgb */ color: rgb(199, 149, 204);
/* oklch */ color: oklch(73.5% 0.095 323.4);
Tailwind
colors: {
  custom: {
    50: '#d8b4db',
    500: '#c795cc',
    950: '#000000',
  },
}
SCSS
$custom: #c795cc;
$custom-light: #d8b4db;
$custom-dark: #000000;
JSON
{
  "hex": "#c795cc",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 204
  },
  "hsl": {
    "h": 294.545,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73535,
    "c": 0.09528,
    "h": 323.4
  },
  "luminance": 0.37997
}

Semantic roles & 50–950 ramp

primary
#C795CC
secondary
#D8E6D6
accent
#AE3842
background
#FDFBFD
surface
#FAF6FB
border
#D3D0D4
text
#141115
muted
#838083

Preview Lab

Preview with #C795CC

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

Preview Lab → · Contrast checker → · Palette generator →

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