#C8A1FF#C8A1FF

#C8A1FF is a light, vivid violet. Relative luminance 0.450; OKLCH L 77.9% C 0.136 H 302.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C8A1FF
RGBrgb(200, 161, 255)
HSLhsl(265, 100%, 82%)
HSVhsv(265, 37%, 100%)
CMYKcmyk(21.6%, 36.9%, 0%, 0%)
CIE-LABlab(72.88, 32.55, -41.41)
CIE-LCHlch(72.88, 52.67, 308.16°)
OKLaboklab(77.92% 0.0731 -0.1149)
OKLCHoklch(77.92% 0.136 302.4)
XYZxyz(54.6104, 44.9891, 100.3951)
Luminance0.4499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FF #D8FFA1
analogous
#A1A9FF #C8A1FF #F7A1FF
triadic
#C8A1FF #FFC8A1 #A1FFC8
tetradic
#C8A1FF #FFA1A9 #D8FFA1 #A1FFF7
square
#C8A1FF #FFA1A9 #D8FFA1 #A1FFF7
split-complementary
#C8A1FF #FFF7A1 #A9FFA1
monochromatic
#8027FF #A464FF #C8A1FF #ECDEFF #EDE0FF

Accessibility & contrast

On white

2.10
#C8A1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#C8A1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FF#FFFFFF#000000##000000
##C8A1FF1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#93B3FC
Tritanopia (blue-blind)
#BFB0C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a1ff;
/* rgb */ color: rgb(200, 161, 255);
/* oklch */ color: oklch(77.9% 0.136 302.4);
Tailwind
colors: {
  custom: {
    50: '#dabdff',
    500: '#c8a1ff',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1ff;
$custom-light: #dabdff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1ff",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 264.894,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77919,
    "c": 0.13617,
    "h": 302.4
  },
  "luminance": 0.44989
}

Semantic roles & 50–950 ramp

primary
#C8A1FF
secondary
#E9F7D4
accent
#E60086
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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