#C8A1FD#C8A1FD

#C8A1FD is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.8% C 0.134 H 302.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C8A1FD
RGBrgb(200, 161, 253)
HSLhsl(265, 96%, 81%)
HSVhsv(265, 36%, 99%)
CMYKcmyk(20.9%, 36.4%, 0%, 0.8%)
CIE-LABlab(72.80, 32.10, -40.46)
CIE-LCHlch(72.80, 51.65, 308.42°)
OKLaboklab(77.83% 0.0726 -0.1122)
OKLCHoklch(77.83% 0.134 302.9)
XYZxyz(54.2902, 44.8610, 98.7084)
Luminance0.4486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FD #D6FDA1
analogous
#A1A8FD #C8A1FD #F6A1FD
triadic
#C8A1FD #FDC8A1 #A1FDC8
tetradic
#C8A1FD #FDA1A8 #D6FDA1 #A1FDF6
square
#C8A1FD #FDA1A8 #D6FDA1 #A1FDF6
split-complementary
#C8A1FD #FDF6A1 #A8FDA1
monochromatic
#8229FA #A565FC #C8A1FD #EBDDFE #EDE1FE

Accessibility & contrast

On white

2.11
#C8A1FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C8A1FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FD
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FD#FFFFFF#000000##000000
##C8A1FD1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#94B3FA
Tritanopia (blue-blind)
#BFB0C3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a1fd;
/* rgb */ color: rgb(200, 161, 253);
/* oklch */ color: oklch(77.8% 0.134 302.9);
Tailwind
colors: {
  custom: {
    50: '#dabdfe',
    500: '#c8a1fd',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1fd;
$custom-light: #dabdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1fd",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 253
  },
  "hsl": {
    "h": 265.435,
    "s": 95.833,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77827,
    "c": 0.13364,
    "h": 302.9
  },
  "luminance": 0.44861
}

Semantic roles & 50–950 ramp

primary
#C8A1FD
secondary
#E8F7D4
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A1FD

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

Preview Lab → · Contrast checker → · Palette generator →

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