#C795DA#C795DA

#C795DA is a light, moderate purple. Relative luminance 0.387; OKLCH L 74.1% C 0.111 H 316.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C795DA
RGBrgb(199, 149, 218)
HSLhsl(283, 48%, 72%)
HSVhsv(283, 32%, 85%)
CMYKcmyk(8.7%, 31.7%, 0%, 14.5%)
CIE-LABlab(68.53, 30.89, -27.94)
CIE-LCHlch(68.53, 41.65, 317.87°)
OKLaboklab(74.1% 0.0804 -0.0764)
OKLCHoklch(74.1% 0.111 316.5)
XYZxyz(46.9536, 38.6999, 71.3124)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795DA #A8DA95
analogous
#A595DA #C795DA #DA95CB
triadic
#C795DA #DAC795 #95DAC7
tetradic
#C795DA #DAA595 #A8DA95 #95CBDA
square
#C795DA #DAA595 #A8DA95 #95CBDA
split-complementary
#C795DA #CBDA95 #95DAA5
monochromatic
#953FB5 #AF68CA #C795DA #DFC2EA #F3E8F7

Accessibility & contrast

On white

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

On black

8.74
#C795DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795DA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795DA#FFFFFF#000000##000000
##C795DA1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DD
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#C79DAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c795da;
/* rgb */ color: rgb(199, 149, 218);
/* oklch */ color: oklch(74.1% 0.111 316.5);
Tailwind
colors: {
  custom: {
    50: '#d9b4e5',
    500: '#c795da',
    950: '#000000',
  },
}
SCSS
$custom: #c795da;
$custom-light: #d9b4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c795da",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 218
  },
  "hsl": {
    "h": 283.478,
    "s": 48.252,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.11089,
    "h": 316.5
  },
  "luminance": 0.38699
}

Semantic roles & 50–950 ramp

primary
#C795DA
secondary
#E2EEDD
accent
#BC2A52
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141115
muted
#838084

Preview Lab

Preview with #C795DA

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

Preview Lab → · Contrast checker → · Palette generator →

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