#C795DF#C795DF

#C795DF is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.3% C 0.117 H 314.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#C795DF
RGBrgb(199, 149, 223)
HSLhsl(281, 54%, 73%)
HSVhsv(281, 33%, 87%)
CMYKcmyk(10.8%, 33.2%, 0%, 12.5%)
CIE-LABlab(68.73, 31.91, -30.40)
CIE-LCHlch(68.73, 44.08, 316.39°)
OKLaboklab(74.31% 0.0817 -0.0834)
OKLCHoklch(74.31% 0.117 314.4)
XYZxyz(47.6178, 38.9656, 74.8104)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795DF #ADDF95
analogous
#A295DF #C795DF #DF95D2
triadic
#C795DF #DFC795 #95DFC7
tetradic
#C795DF #DFA295 #ADDF95 #95D2DF
square
#C795DF #DFA295 #ADDF95 #95D2DF
split-complementary
#C795DF #D2DF95 #95DFA2
monochromatic
#943AC0 #AE66D1 #C795DF #E0C4ED #F3E7F8

Accessibility & contrast

On white

2.39
#C795DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#C795DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795DF
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795DF#FFFFFF#000000##000000
##C795DF1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A5E2
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#C69EB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c795df;
/* rgb */ color: rgb(199, 149, 223);
/* oklch */ color: oklch(74.3% 0.117 314.4);
Tailwind
colors: {
  custom: {
    50: '#d9b4e9',
    500: '#c795df',
    950: '#000000',
  },
}
SCSS
$custom: #c795df;
$custom-light: #d9b4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c795df",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 280.541,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74307,
    "c": 0.11671,
    "h": 314.4
  },
  "luminance": 0.38965
}

Semantic roles & 50–950 ramp

primary
#C795DF
secondary
#E2EFDC
accent
#C12457
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C795DF

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

Preview Lab → · Contrast checker → · Palette generator →

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