#C5B8EA#C5B8EA

#C5B8EA is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.0% C 0.071 H 296.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C5B8EA
RGBrgb(197, 184, 234)
HSLhsl(256, 54%, 82%)
HSVhsv(256, 21%, 92%)
CMYKcmyk(15.8%, 21.4%, 0%, 8.2%)
CIE-LABlab(77.34, 14.38, -23.22)
CIE-LCHlch(77.34, 27.31, 301.78°)
OKLaboklab(81.01% 0.0319 -0.0633)
OKLCHoklch(81.01% 0.071 296.7)
XYZxyz(55.0146, 52.0915, 84.9823)
Luminance0.5209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B8EA #DDEAB8
analogous
#B8C4EA #C5B8EA #DEB8EA
triadic
#C5B8EA #EAC5B8 #B8EAC5
tetradic
#C5B8EA #EAB8C4 #DDEAB8 #B8EADE
square
#C5B8EA #EAB8C4 #DDEAB8 #B8EADE
split-complementary
#C5B8EA #EADEB8 #C4EAB8
monochromatic
#785ACE #9E89DC #C5B8EA #ECE7F8 #ECE7F8

Accessibility & contrast

On white

1.84
#C5B8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C5B8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B8EA
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B8EA#FFFFFF#000000##000000
##C5B8EA1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEBFEC
Deuteranopia (green-blind)
#AFBEE9
Tritanopia (blue-blind)
#BEBFC9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5b8ea;
/* rgb */ color: rgb(197, 184, 234);
/* oklch */ color: oklch(81.0% 0.071 296.7);
Tailwind
colors: {
  custom: {
    50: '#d7cdf0',
    500: '#c5b8ea',
    950: '#000000',
  },
}
SCSS
$custom: #c5b8ea;
$custom-light: #d7cdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b8ea",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 255.6,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81009,
    "c": 0.0709,
    "h": 296.7
  },
  "luminance": 0.52092
}

Semantic roles & 50–950 ramp

primary
#C5B8EA
secondary
#B4C680
accent
#C22499
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #C5B8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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