#C8A5EB#C8A5EB

#C8A5EB is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.8% C 0.104 H 307.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C8A5EB
RGBrgb(200, 165, 235)
HSLhsl(270, 64%, 78%)
HSVhsv(270, 30%, 92%)
CMYKcmyk(14.9%, 29.8%, 0%, 7.8%)
CIE-LABlab(73.02, 25.95, -30.35)
CIE-LCHlch(73.02, 39.93, 310.53°)
OKLaboklab(77.75% 0.0627 -0.0833)
OKLCHoklch(77.75% 0.104 307)
XYZxyz(52.2671, 45.1881, 84.5498)
Luminance0.4519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5EB #C8EBA5
analogous
#A5A5EB #C8A5EB #EBA5EB
triadic
#C8A5EB #EBC8A5 #A5EBC8
tetradic
#C8A5EB #EBA5A5 #C8EBA5 #A5EBEB
square
#C8A5EB #EBA5A5 #C8EBA5 #A5EBEB
split-complementary
#C8A5EB #EBEBA5 #A5EBA5
monochromatic
#8B41D5 #A973E0 #C8A5EB #E7D7F6 #F0E6F9

Accessibility & contrast

On white

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

On black

10.04
#C8A5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5EB
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5EB#FFFFFF#000000##000000
##C8A5EB1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EE
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#C3AFBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a5eb;
/* rgb */ color: rgb(200, 165, 235);
/* oklch */ color: oklch(77.8% 0.104 307.0);
Tailwind
colors: {
  custom: {
    50: '#d9c0f1',
    500: '#c8a5eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5eb;
$custom-light: #d9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5eb",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.10425,
    "h": 307
  },
  "luminance": 0.45188
}

Semantic roles & 50–950 ramp

primary
#C8A5EB
secondary
#E6F1DA
accent
#CB1A73
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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