#C8A5EA#C8A5EA

#C8A5EA is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.7% C 0.103 H 307.3°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C8A5EA
RGBrgb(200, 165, 234)
HSLhsl(270, 62%, 78%)
HSVhsv(270, 29%, 92%)
CMYKcmyk(14.5%, 29.5%, 0%, 8.2%)
CIE-LABlab(72.98, 25.74, -29.87)
CIE-LCHlch(72.98, 39.43, 310.75°)
OKLaboklab(77.71% 0.0624 -0.0819)
OKLCHoklch(77.71% 0.103 307.3)
XYZxyz(52.1230, 45.1305, 83.7911)
Luminance0.4513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5EA #C7EAA5
analogous
#A5A5EA #C8A5EA #EAA5E9
triadic
#C8A5EA #EAC8A5 #A5EAC8
tetradic
#C8A5EA #EAA5A5 #C7EAA5 #A5E9EA
square
#C8A5EA #EAA5A5 #C7EAA5 #A5E9EA
split-complementary
#C8A5EA #E9EAA5 #A5EAA5
monochromatic
#8B42D3 #AA73DE #C8A5EA #E6D7F6 #F0E6F9

Accessibility & contrast

On white

2.09
#C8A5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C8A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5EA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5EA#FFFFFF#000000##000000
##C8A5EA1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2ED
Deuteranopia (green-blind)
#9FB4E8
Tritanopia (blue-blind)
#C4AFBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a5ea;
/* rgb */ color: rgb(200, 165, 234);
/* oklch */ color: oklch(77.7% 0.103 307.3);
Tailwind
colors: {
  custom: {
    50: '#d9c0f1',
    500: '#c8a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5ea;
$custom-light: #d9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5ea",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 270.435,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77713,
    "c": 0.10299,
    "h": 307.3
  },
  "luminance": 0.4513
}

Semantic roles & 50–950 ramp

primary
#C8A5EA
secondary
#E5F1DA
accent
#CA1C71
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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