#C8A5EE#C8A5EE

#C8A5EE is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.9% C 0.108 H 306.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C8A5EE
RGBrgb(200, 165, 238)
HSLhsl(269, 68%, 79%)
HSVhsv(269, 31%, 93%)
CMYKcmyk(16%, 30.7%, 0%, 6.7%)
CIE-LABlab(73.13, 26.59, -31.81)
CIE-LCHlch(73.13, 41.46, 309.90°)
OKLaboklab(77.88% 0.0635 -0.0874)
OKLCHoklch(77.88% 0.108 306)
XYZxyz(52.7042, 45.3629, 86.8517)
Luminance0.4536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5EE #CBEEA5
analogous
#A5A7EE #C8A5EE #EDA5EE
triadic
#C8A5EE #EEC8A5 #A5EEC8
tetradic
#C8A5EE #EEA5A7 #CBEEA5 #A5EEED
square
#C8A5EE #EEA5A7 #CBEEA5 #A5EEED
split-complementary
#C8A5EE #EEEDA5 #A7EEA5
monochromatic
#893EDB #A972E4 #C8A5EE #E7D8F8 #EFE5FA

Accessibility & contrast

On white

2.08
#C8A5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C8A5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5EE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5EE#FFFFFF#000000##000000
##C8A5EE1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2F1
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#C3AFBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a5ee;
/* rgb */ color: rgb(200, 165, 238);
/* oklch */ color: oklch(77.9% 0.108 306.0);
Tailwind
colors: {
  custom: {
    50: '#d9c0f3',
    500: '#c8a5ee',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5ee;
$custom-light: #d9c0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5ee",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 268.767,
    "s": 68.224,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7788,
    "c": 0.10804,
    "h": 306
  },
  "luminance": 0.45363
}

Semantic roles & 50–950 ramp

primary
#C8A5EE
secondary
#E6F2D9
accent
#D01577
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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