#C8A1FE#C8A1FE

#C8A1FE is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.9% C 0.135 H 302.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C8A1FE
RGBrgb(200, 161, 254)
HSLhsl(265, 98%, 81%)
HSVhsv(265, 37%, 100%)
CMYKcmyk(21.3%, 36.6%, 0%, 0.4%)
CIE-LABlab(72.84, 32.32, -40.94)
CIE-LCHlch(72.84, 52.16, 308.29°)
OKLaboklab(77.87% 0.0729 -0.1135)
OKLCHoklch(77.87% 0.135 302.7)
XYZxyz(54.4499, 44.9249, 99.5495)
Luminance0.4492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FE #D7FEA1
analogous
#A1A9FE #C8A1FE #F6A1FE
triadic
#C8A1FE #FEC8A1 #A1FEC8
tetradic
#C8A1FE #FEA1A9 #D7FEA1 #A1FEF6
square
#C8A1FE #FEA1A9 #D7FEA1 #A1FEF6
split-complementary
#C8A1FE #FEF6A1 #A9FEA1
monochromatic
#8128FD #A564FD #C8A1FE #EBDEFF #EDE1FF

Accessibility & contrast

On white

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

On black

9.99
#C8A1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FE
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FE#FFFFFF#000000##000000
##C8A1FE1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a1fe;
/* rgb */ color: rgb(200, 161, 254);
/* oklch */ color: oklch(77.9% 0.135 302.7);
Tailwind
colors: {
  custom: {
    50: '#dabdff',
    500: '#c8a1fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1fe;
$custom-light: #dabdff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1fe",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 265.161,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.77873,
    "c": 0.13491,
    "h": 302.7
  },
  "luminance": 0.44925
}

Semantic roles & 50–950 ramp

primary
#C8A1FE
secondary
#E8F7D4
accent
#E60085
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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