#C795BF#C795BF

#C795BF is a light, moderate purple. Relative luminance 0.374; OKLCH L 73.0% C 0.082 H 332.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C795BF
RGBrgb(199, 149, 191)
HSLhsl(310, 31%, 68%)
HSVhsv(310, 25%, 78%)
CMYKcmyk(0%, 25.1%, 4%, 22%)
CIE-LABlab(67.58, 25.68, -14.41)
CIE-LCHlch(67.58, 29.44, 330.71°)
OKLaboklab(73.05% 0.0725 -0.0385)
OKLCHoklch(73.05% 0.082 332)
XYZxyz(43.7039, 37.4000, 54.1969)
Luminance0.3740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795BF #95C79D
analogous
#B695C7 #C795BF #C795A6
triadic
#C795BF #BFC795 #95BFC7
tetradic
#C795BF #C7B695 #95C79D #95A6C7
square
#C795BF #C7B695 #95C79D #95A6C7
split-complementary
#C795BF #A6C795 #95C7B6
monochromatic
#944E88 #B26DA7 #C795BF #DCBDD7 #F1E5EF

Accessibility & contrast

On white

2.48
#C795BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C795BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795BF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795BF#FFFFFF#000000##000000
##C795BF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A0C1
Deuteranopia (green-blind)
#A0A7BD
Tritanopia (blue-blind)
#CC98A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c795bf;
/* rgb */ color: rgb(199, 149, 191);
/* oklch */ color: oklch(73.0% 0.082 332.0);
Tailwind
colors: {
  custom: {
    50: '#d8b4d2',
    500: '#c795bf',
    950: '#000000',
  },
}
SCSS
$custom: #c795bf;
$custom-light: #d8b4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c795bf",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 309.6,
    "s": 30.864,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7305,
    "c": 0.08212,
    "h": 332
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#C795BF
secondary
#D4E3D7
accent
#AA4D3C
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C795BF

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

Preview Lab → · Contrast checker → · Palette generator →

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