#C8A1EB#C8A1EB

#C8A1EB is a light, moderate violet. Relative luminance 0.438; OKLCH L 77.0% C 0.111 H 308.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C8A1EB
RGBrgb(200, 161, 235)
HSLhsl(272, 65%, 78%)
HSVhsv(272, 31%, 92%)
CMYKcmyk(14.9%, 31.5%, 0%, 7.8%)
CIE-LABlab(72.07, 28.15, -31.81)
CIE-LCHlch(72.07, 42.47, 311.51°)
OKLaboklab(77.03% 0.0684 -0.0874)
OKLCHoklch(77.03% 0.111 308.1)
XYZxyz(51.5569, 43.7677, 84.3131)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1EB #C4EBA1
analogous
#A3A1EB #C8A1EB #EBA1E9
triadic
#C8A1EB #EBC8A1 #A1EBC8
tetradic
#C8A1EB #EBA3A1 #C4EBA1 #A1E9EB
square
#C8A1EB #EBA3A1 #C4EBA1 #A1E9EB
split-complementary
#C8A1EB #E9EBA1 #A1EBA3
monochromatic
#8D3CD6 #AA6FE0 #C8A1EB #E6D3F6 #F0E6FA

Accessibility & contrast

On white

2.15
#C8A1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C8A1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1EB
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1EB#FFFFFF#000000##000000
##C8A1EB1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#C4ABBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a1eb;
/* rgb */ color: rgb(200, 161, 235);
/* oklch */ color: oklch(77.0% 0.111 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9bdf1',
    500: '#c8a1eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1eb;
$custom-light: #d9bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1eb",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 271.622,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77034,
    "c": 0.111,
    "h": 308.1
  },
  "luminance": 0.43767
}

Semantic roles & 50–950 ramp

primary
#C8A1EB
secondary
#E5F1DA
accent
#CD196E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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