#C8A1FA#C8A1FA

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

Color values

HEX#C8A1FA
RGBrgb(200, 161, 250)
HSLhsl(266, 90%, 81%)
HSVhsv(266, 36%, 98%)
CMYKcmyk(20%, 35.6%, 0%, 2%)
CIE-LABlab(72.67, 31.43, -39.03)
CIE-LCHlch(72.67, 50.11, 308.84°)
OKLaboklab(77.69% 0.072 -0.1081)
OKLCHoklch(77.69% 0.13 303.7)
XYZxyz(53.8160, 44.6713, 96.2112)
Luminance0.4467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1FA #D3FAA1
analogous
#A1A6FA #C8A1FA #F4A1FA
triadic
#C8A1FA #FAC8A1 #A1FAC8
tetradic
#C8A1FA #FAA1A6 #D3FAA1 #A1FAF4
square
#C8A1FA #FAA1A6 #D3FAA1 #A1FAF4
split-complementary
#C8A1FA #FAF4A1 #A6FAA1
monochromatic
#842DF4 #A667F7 #C8A1FA #EADBFD #EEE2FD

Accessibility & contrast

On white

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

On black

9.93
#C8A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1FA
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1FA#FFFFFF#000000##000000
##C8A1FA1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a1fa;
/* rgb */ color: rgb(200, 161, 250);
/* oklch */ color: oklch(77.7% 0.130 303.7);
Tailwind
colors: {
  custom: {
    50: '#dabdfc',
    500: '#c8a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1fa;
$custom-light: #dabdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1fa",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 266.292,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7769,
    "c": 0.12985,
    "h": 303.7
  },
  "luminance": 0.44671
}

Semantic roles & 50–950 ramp

primary
#C8A1FA
secondary
#E7F6D5
accent
#E60081
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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