#C8A1DD#C8A1DD

#C8A1DD is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.5% C 0.094 H 313.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C8A1DD
RGBrgb(200, 161, 221)
HSLhsl(279, 47%, 75%)
HSVhsv(279, 27%, 87%)
CMYKcmyk(9.5%, 27.1%, 0%, 13.3%)
CIE-LABlab(71.55, 25.22, -24.96)
CIE-LCHlch(71.55, 35.48, 315.30°)
OKLaboklab(76.46% 0.0646 -0.068)
OKLCHoklch(76.46% 0.094 313.5)
XYZxyz(49.6133, 42.9903, 74.0769)
Luminance0.4299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1DD #B6DDA1
analogous
#AAA1DD #C8A1DD #DDA1D4
triadic
#C8A1DD #DDC8A1 #A1DDC8
tetradic
#C8A1DD #DDAAA1 #B6DDA1 #A1D4DD
square
#C8A1DD #DDAAA1 #B6DDA1 #A1D4DD
split-complementary
#C8A1DD #D4DDA1 #A1DDAA
monochromatic
#9347BC #AE74CD #C8A1DD #E2CEED #F2E9F7

Accessibility & contrast

On white

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

On black

9.60
#C8A1DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1DD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1DD#FFFFFF#000000##000000
##C8A1DD1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADDF
Deuteranopia (green-blind)
#A1B0DB
Tritanopia (blue-blind)
#C7A8B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8a1dd;
/* rgb */ color: rgb(200, 161, 221);
/* oklch */ color: oklch(76.5% 0.094 313.5);
Tailwind
colors: {
  custom: {
    50: '#d9bde7',
    500: '#c8a1dd',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1dd;
$custom-light: #d9bde7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1dd",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 221
  },
  "hsl": {
    "h": 279,
    "s": 46.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.09383,
    "h": 313.5
  },
  "luminance": 0.4299
}

Semantic roles & 50–950 ramp

primary
#C8A1DD
secondary
#E3EEDD
accent
#BA2B5D
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A1DD

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

Preview Lab → · Contrast checker → · Palette generator →

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