#C8A1EA#C8A1EA

#C8A1EA is a light, moderate violet. Relative luminance 0.437; OKLCH L 77.0% C 0.110 H 308.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C8A1EA
RGBrgb(200, 161, 234)
HSLhsl(272, 63%, 77%)
HSVhsv(272, 31%, 92%)
CMYKcmyk(14.5%, 31.2%, 0%, 8.2%)
CIE-LABlab(72.03, 27.94, -31.32)
CIE-LCHlch(72.03, 41.97, 311.73°)
OKLaboklab(76.99% 0.0682 -0.086)
OKLCHoklch(76.99% 0.11 308.4)
XYZxyz(51.4128, 43.7101, 83.5544)
Luminance0.4371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1EA #C3EAA1
analogous
#A4A1EA #C8A1EA #EAA1E7
triadic
#C8A1EA #EAC8A1 #A1EAC8
tetradic
#C8A1EA #EAA4A1 #C3EAA1 #A1E7EA
square
#C8A1EA #EAA4A1 #C3EAA1 #A1E7EA
split-complementary
#C8A1EA #E7EAA1 #A1EAA4
monochromatic
#8D3DD4 #AB6FDF #C8A1EA #E5D3F5 #F0E6F9

Accessibility & contrast

On white

2.16
#C8A1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C8A1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1EA
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1EA#FFFFFF#000000##000000
##C8A1EA1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#9CB1E8
Tritanopia (blue-blind)
#C4ABBB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a1ea;
/* rgb */ color: rgb(200, 161, 234);
/* oklch */ color: oklch(77.0% 0.110 308.4);
Tailwind
colors: {
  custom: {
    50: '#d9bdf1',
    500: '#c8a1ea',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1ea;
$custom-light: #d9bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1ea",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 272.055,
    "s": 63.478,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.10976,
    "h": 308.4
  },
  "luminance": 0.4371
}

Semantic roles & 50–950 ramp

primary
#C8A1EA
secondary
#E5F1DA
accent
#CB1A6D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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