#C8A1DC#C8A1DC

#C8A1DC is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.4% C 0.093 H 314.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C8A1DC
RGBrgb(200, 161, 220)
HSLhsl(280, 46%, 75%)
HSVhsv(280, 27%, 86%)
CMYKcmyk(9.1%, 26.8%, 0%, 13.7%)
CIE-LABlab(71.51, 25.02, -24.46)
CIE-LCHlch(71.51, 34.99, 315.64°)
OKLaboklab(76.42% 0.0644 -0.0666)
OKLCHoklch(76.42% 0.093 314)
XYZxyz(49.4805, 42.9371, 73.3773)
Luminance0.4294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1DC #B5DCA1
analogous
#ABA1DC #C8A1DC #DCA1D3
triadic
#C8A1DC #DCC8A1 #A1DCC8
tetradic
#C8A1DC #DCABA1 #B5DCA1 #A1D3DC
square
#C8A1DC #DCABA1 #B5DCA1 #A1D3DC
split-complementary
#C8A1DC #D3DCA1 #A1DCAB
monochromatic
#9448BB #AE74CB #C8A1DC #E2CEED #F2E9F7

Accessibility & contrast

On white

2.19
#C8A1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C8A1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1DC
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1DC#FFFFFF#000000##000000
##C8A1DC1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ADDE
Deuteranopia (green-blind)
#A1B0DA
Tritanopia (blue-blind)
#C7A8B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8a1dc;
/* rgb */ color: rgb(200, 161, 220);
/* oklch */ color: oklch(76.4% 0.093 314.0);
Tailwind
colors: {
  custom: {
    50: '#d9bde7',
    500: '#c8a1dc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1dc;
$custom-light: #d9bde7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1dc",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 220
  },
  "hsl": {
    "h": 279.661,
    "s": 45.736,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7642,
    "c": 0.09264,
    "h": 314
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#C8A1DC
secondary
#E3EEDD
accent
#B92D5C
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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