#C8A1FB#C8A1FB

#C8A1FB is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.7% C 0.131 H 303.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C8A1FB
RGBrgb(200, 161, 251)
HSLhsl(266, 92%, 81%)
HSVhsv(266, 36%, 98%)
CMYKcmyk(20.3%, 35.9%, 0%, 1.6%)
CIE-LABlab(72.72, 31.65, -39.51)
CIE-LCHlch(72.72, 50.62, 308.70°)
OKLaboklab(77.74% 0.0722 -0.1094)
OKLCHoklch(77.74% 0.131 303.4)
XYZxyz(53.9732, 44.7342, 97.0392)
Luminance0.4473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FB #D4FBA1
analogous
#A1A7FB #C8A1FB #F5A1FB
triadic
#C8A1FB #FBC8A1 #A1FBC8
tetradic
#C8A1FB #FBA1A7 #D4FBA1 #A1FBF5
square
#C8A1FB #FBA1A7 #D4FBA1 #A1FBF5
split-complementary
#C8A1FB #FBF5A1 #A7FBA1
monochromatic
#832CF6 #A666F9 #C8A1FB #EADCFD #EEE2FE

Accessibility & contrast

On white

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

On black

9.95
#C8A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FB
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FB#FFFFFF#000000##000000
##C8A1FB1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FE
Deuteranopia (green-blind)
#95B2F9
Tritanopia (blue-blind)
#C0AFC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a1fb;
/* rgb */ color: rgb(200, 161, 251);
/* oklch */ color: oklch(77.7% 0.131 303.4);
Tailwind
colors: {
  custom: {
    50: '#dabdfd',
    500: '#c8a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1fb;
$custom-light: #dabdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1fb",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 266,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.13112,
    "h": 303.4
  },
  "luminance": 0.44734
}

Semantic roles & 50–950 ramp

primary
#C8A1FB
secondary
#E8F6D5
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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