#C795DB#C795DB

#C795DB is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.1% C 0.112 H 316.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#C795DB
RGBrgb(199, 149, 219)
HSLhsl(283, 49%, 72%)
HSVhsv(283, 32%, 86%)
CMYKcmyk(9.1%, 32%, 0%, 14.1%)
CIE-LABlab(68.57, 31.09, -28.43)
CIE-LCHlch(68.57, 42.13, 317.56°)
OKLaboklab(74.14% 0.0807 -0.0778)
OKLCHoklch(74.14% 0.112 316)
XYZxyz(47.0849, 38.7524, 72.0037)
Luminance0.3875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795DB #A9DB95
analogous
#A495DB #C795DB #DB95CC
triadic
#C795DB #DBC795 #95DBC7
tetradic
#C795DB #DBA495 #A9DB95 #95CCDB
square
#C795DB #DBA495 #A9DB95 #95CCDB
split-complementary
#C795DB #CCDB95 #95DBA4
monochromatic
#953EB7 #AF67CB #C795DB #DFC3EB #F3E8F7

Accessibility & contrast

On white

2.40
#C795DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#C795DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795DB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795DB#FFFFFF#000000##000000
##C795DB1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#96A9D9
Tritanopia (blue-blind)
#C69DAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c795db;
/* rgb */ color: rgb(199, 149, 219);
/* oklch */ color: oklch(74.1% 0.112 316.0);
Tailwind
colors: {
  custom: {
    50: '#d9b4e6',
    500: '#c795db',
    950: '#000000',
  },
}
SCSS
$custom: #c795db;
$custom-light: #d9b4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c795db",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 282.857,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74139,
    "c": 0.11205,
    "h": 316
  },
  "luminance": 0.38751
}

Semantic roles & 50–950 ramp

primary
#C795DB
secondary
#E2EEDD
accent
#BD2953
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C795DB

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

Preview Lab → · Contrast checker → · Palette generator →

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