#C8A1ED#C8A1ED

#C8A1ED is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.1% C 0.114 H 307.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C8A1ED
RGBrgb(200, 161, 237)
HSLhsl(271, 68%, 78%)
HSVhsv(271, 32%, 93%)
CMYKcmyk(15.6%, 32.1%, 0%, 7.1%)
CIE-LABlab(72.15, 28.58, -32.78)
CIE-LCHlch(72.15, 43.49, 311.08°)
OKLaboklab(77.12% 0.0689 -0.0902)
OKLCHoklch(77.12% 0.114 307.4)
XYZxyz(51.8475, 43.8839, 85.8434)
Luminance0.4388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1ED #C6EDA1
analogous
#A2A1ED #C8A1ED #EDA1EC
triadic
#C8A1ED #EDC8A1 #A1EDC8
tetradic
#C8A1ED #EDA2A1 #C6EDA1 #A1ECED
square
#C8A1ED #EDA2A1 #C6EDA1 #A1ECED
split-complementary
#C8A1ED #ECEDA1 #A1EDA2
monochromatic
#8C3AD9 #AA6EE3 #C8A1ED #E6D4F7 #F0E5FA

Accessibility & contrast

On white

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

On black

9.78
#C8A1ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1ED
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1ED#FFFFFF#000000##000000
##C8A1ED1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF0
Deuteranopia (green-blind)
#9BB1EB
Tritanopia (blue-blind)
#C3ACBD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a1ed;
/* rgb */ color: rgb(200, 161, 237);
/* oklch */ color: oklch(77.1% 0.114 307.4);
Tailwind
colors: {
  custom: {
    50: '#d9bdf3',
    500: '#c8a1ed',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1ed;
$custom-light: #d9bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1ed",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 237
  },
  "hsl": {
    "h": 270.789,
    "s": 67.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.1135,
    "h": 307.4
  },
  "luminance": 0.43884
}

Semantic roles & 50–950 ramp

primary
#C8A1ED
secondary
#E5F2D9
accent
#D01670
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1ED

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

Preview Lab → · Contrast checker → · Palette generator →

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