#C795DD#C795DD

#C795DD is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.2% C 0.114 H 315.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#C795DD
RGBrgb(199, 149, 221)
HSLhsl(282, 51%, 73%)
HSVhsv(282, 33%, 87%)
CMYKcmyk(10%, 32.6%, 0%, 13.3%)
CIE-LABlab(68.65, 31.50, -29.42)
CIE-LCHlch(68.65, 43.10, 316.96°)
OKLaboklab(74.22% 0.0812 -0.0806)
OKLCHoklch(74.22% 0.114 315.2)
XYZxyz(47.3498, 38.8584, 73.3987)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795DD #ABDD95
analogous
#A395DD #C795DD #DD95CF
triadic
#C795DD #DDC795 #95DDC7
tetradic
#C795DD #DDA395 #ABDD95 #95CFDD
square
#C795DD #DDA395 #ABDD95 #95CFDD
split-complementary
#C795DD #CFDD95 #95DDA3
monochromatic
#953CBB #AF67CE #C795DD #DFC3EC #F3E8F8

Accessibility & contrast

On white

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

On black

8.77
#C795DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795DD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795DD#FFFFFF#000000##000000
##C795DD1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4E0
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#C69EAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c795dd;
/* rgb */ color: rgb(199, 149, 221);
/* oklch */ color: oklch(74.2% 0.114 315.2);
Tailwind
colors: {
  custom: {
    50: '#d9b4e7',
    500: '#c795dd',
    950: '#000000',
  },
}
SCSS
$custom: #c795dd;
$custom-light: #d9b4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c795dd",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 221
  },
  "hsl": {
    "h": 281.667,
    "s": 51.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74223,
    "c": 0.11437,
    "h": 315.2
  },
  "luminance": 0.38857
}

Semantic roles & 50–950 ramp

primary
#C795DD
secondary
#E2EFDC
accent
#BF2755
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C795DD

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

Preview Lab → · Contrast checker → · Palette generator →

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