#C8A5ED#C8A5ED

#C8A5ED is a light, moderate violet. Relative luminance 0.453; OKLCH L 77.8% C 0.107 H 306.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C8A5ED
RGBrgb(200, 165, 237)
HSLhsl(269, 67%, 79%)
HSVhsv(269, 30%, 93%)
CMYKcmyk(15.6%, 30.4%, 0%, 7.1%)
CIE-LABlab(73.09, 26.38, -31.32)
CIE-LCHlch(73.09, 40.95, 310.10°)
OKLaboklab(77.84% 0.0632 -0.0861)
OKLCHoklch(77.84% 0.107 306.3)
XYZxyz(52.5577, 45.3043, 86.0801)
Luminance0.4530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5ED #CAEDA5
analogous
#A5A6ED #C8A5ED #ECA5ED
triadic
#C8A5ED #EDC8A5 #A5EDC8
tetradic
#C8A5ED #EDA5A6 #CAEDA5 #A5EDEC
square
#C8A5ED #EDA5A6 #CAEDA5 #A5EDEC
split-complementary
#C8A5ED #EDECA5 #A6EDA5
monochromatic
#8A3FD9 #A972E3 #C8A5ED #E7D8F7 #EFE5FA

Accessibility & contrast

On white

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

On black

10.06
#C8A5ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5ED
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5ED#FFFFFF#000000##000000
##C8A5ED1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2F0
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#C3AFBF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a5ed;
/* rgb */ color: rgb(200, 165, 237);
/* oklch */ color: oklch(77.8% 0.107 306.3);
Tailwind
colors: {
  custom: {
    50: '#d9c0f3',
    500: '#c8a5ed',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5ed;
$custom-light: #d9c0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5ed",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 237
  },
  "hsl": {
    "h": 269.167,
    "s": 66.667,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77838,
    "c": 0.10678,
    "h": 306.3
  },
  "luminance": 0.45304
}

Semantic roles & 50–950 ramp

primary
#C8A5ED
secondary
#E6F1DA
accent
#CF1775
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5ED

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

Preview Lab → · Contrast checker → · Palette generator →

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