#C8A1E2#C8A1E2

#C8A1E2 is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.7% C 0.100 H 311.4°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C8A1E2
RGBrgb(200, 161, 226)
HSLhsl(276, 53%, 76%)
HSVhsv(276, 29%, 89%)
CMYKcmyk(11.5%, 28.8%, 0%, 11.4%)
CIE-LABlab(71.73, 26.25, -27.42)
CIE-LCHlch(71.73, 37.96, 313.76°)
OKLaboklab(76.66% 0.066 -0.075)
OKLCHoklch(76.66% 0.1 311.4)
XYZxyz(50.2894, 43.2607, 77.6376)
Luminance0.4326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1E2 #BBE2A1
analogous
#A7A1E2 #C8A1E2 #E2A1DB
triadic
#C8A1E2 #E2C8A1 #A1E2C8
tetradic
#C8A1E2 #E2A7A1 #BBE2A1 #A1DBE2
square
#C8A1E2 #E2A7A1 #BBE2A1 #A1DBE2
split-complementary
#C8A1E2 #DBE2A1 #A1E2A7
monochromatic
#9143C5 #AD72D4 #C8A1E2 #E3D0F0 #F1E8F8

Accessibility & contrast

On white

2.18
#C8A1E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C8A1E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1E2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1E2#FFFFFF#000000##000000
##C8A1E21.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE5
Deuteranopia (green-blind)
#9FB1E0
Tritanopia (blue-blind)
#C6A9B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8a1e2;
/* rgb */ color: rgb(200, 161, 226);
/* oklch */ color: oklch(76.7% 0.100 311.4);
Tailwind
colors: {
  custom: {
    50: '#d9bdeb',
    500: '#c8a1e2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1e2;
$custom-light: #d9bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1e2",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 226
  },
  "hsl": {
    "h": 276,
    "s": 52.846,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7666,
    "c": 0.0999,
    "h": 311.4
  },
  "luminance": 0.4326
}

Semantic roles & 50–950 ramp

primary
#C8A1E2
secondary
#E4EFDC
accent
#C02563
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A1E2

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

Preview Lab → · Contrast checker → · Palette generator →

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