#C8A5E4#C8A5E4

#C8A5E4 is a light, moderate violet. Relative luminance 0.448; OKLCH L 77.5% C 0.095 H 309.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C8A5E4
RGBrgb(200, 165, 228)
HSLhsl(273, 54%, 77%)
HSVhsv(273, 28%, 89%)
CMYKcmyk(12.3%, 27.6%, 0%, 10.6%)
CIE-LABlab(72.75, 24.47, -26.94)
CIE-LCHlch(72.75, 36.39, 312.25°)
OKLaboklab(77.47% 0.0608 -0.0736)
OKLCHoklch(77.47% 0.095 309.5)
XYZxyz(51.2757, 44.7915, 79.3281)
Luminance0.4479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5E4 #C1E4A5
analogous
#A9A5E4 #C8A5E4 #E4A5E1
triadic
#C8A5E4 #E4C8A5 #A5E4C8
tetradic
#C8A5E4 #E4A9A5 #C1E4A5 #A5E1E4
square
#C8A5E4 #E4A9A5 #C1E4A5 #A5E1E4
split-complementary
#C8A5E4 #E1E4A5 #A5E4A9
monochromatic
#8E47C8 #AB76D6 #C8A5E4 #E5D4F2 #F1E7F8

Accessibility & contrast

On white

2.11
#C8A5E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C8A5E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5E4
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5E4#FFFFFF#000000##000000
##C8A5E41.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB1E7
Deuteranopia (green-blind)
#A2B3E2
Tritanopia (blue-blind)
#C5ADBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a5e4;
/* rgb */ color: rgb(200, 165, 228);
/* oklch */ color: oklch(77.5% 0.095 309.5);
Tailwind
colors: {
  custom: {
    50: '#d9c0ec',
    500: '#c8a5e4',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5e4;
$custom-light: #d9c0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5e4",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 228
  },
  "hsl": {
    "h": 273.333,
    "s": 53.846,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77468,
    "c": 0.09547,
    "h": 309.5
  },
  "luminance": 0.44791
}

Semantic roles & 50–950 ramp

primary
#C8A5E4
secondary
#E4EFDC
accent
#C1246A
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A5E4

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

Preview Lab → · Contrast checker → · Palette generator →

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