#C8A1FC#C8A1FC

#C8A1FC is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.8% C 0.132 H 303.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C8A1FC
RGBrgb(200, 161, 252)
HSLhsl(266, 94%, 81%)
HSVhsv(266, 36%, 99%)
CMYKcmyk(20.6%, 36.1%, 0%, 1.2%)
CIE-LABlab(72.76, 31.87, -39.99)
CIE-LCHlch(72.76, 51.13, 308.56°)
OKLaboklab(77.78% 0.0724 -0.1108)
OKLCHoklch(77.78% 0.132 303.2)
XYZxyz(54.1313, 44.7974, 97.8716)
Luminance0.4480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FC #D5FCA1
analogous
#A1A7FC #C8A1FC #F5A1FC
triadic
#C8A1FC #FCC8A1 #A1FCC8
tetradic
#C8A1FC #FCA1A7 #D5FCA1 #A1FCF5
square
#C8A1FC #FCA1A7 #D5FCA1 #A1FCF5
split-complementary
#C8A1FC #FCF5A1 #A7FCA1
monochromatic
#832AF8 #A566FA #C8A1FC #EBDCFE #EEE1FE

Accessibility & contrast

On white

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

On black

9.96
#C8A1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FC#FFFFFF#000000##000000
##C8A1FC1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#BFAFC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a1fc;
/* rgb */ color: rgb(200, 161, 252);
/* oklch */ color: oklch(77.8% 0.132 303.2);
Tailwind
colors: {
  custom: {
    50: '#dabdfd',
    500: '#c8a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1fc;
$custom-light: #dabdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1fc",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 265.714,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77781,
    "c": 0.13238,
    "h": 303.2
  },
  "luminance": 0.44797
}

Semantic roles & 50–950 ramp

primary
#C8A1FC
secondary
#E8F6D5
accent
#E60083
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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