#C9A1FA#C9A1FA

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

Color values

HEX#C9A1FA
RGBrgb(201, 161, 250)
HSLhsl(267, 90%, 81%)
HSVhsv(267, 36%, 98%)
CMYKcmyk(19.6%, 35.6%, 0%, 2%)
CIE-LABlab(72.77, 31.72, -38.88)
CIE-LCHlch(72.77, 50.18, 309.20°)
OKLaboklab(77.78% 0.0731 -0.1076)
OKLCHoklch(77.78% 0.13 304.2)
XYZxyz(54.0840, 44.8095, 96.2238)
Luminance0.4481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A1FA #D2FAA1
analogous
#A1A5FA #C9A1FA #F5A1FA
triadic
#C9A1FA #FAC9A1 #A1FAC9
tetradic
#C9A1FA #FAA1A5 #D2FAA1 #A1FAF5
square
#C9A1FA #FAA1A5 #D2FAA1 #A1FAF5
split-complementary
#C9A1FA #FAF5A1 #A5FAA1
monochromatic
#862DF4 #A867F7 #C9A1FA #EADBFD #EEE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9A1FA#FFFFFF#000000##000000
##C9A1FA1.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)
#8DB1FD
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#C1AFC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9a1fa;
/* rgb */ color: rgb(201, 161, 250);
/* oklch */ color: oklch(77.8% 0.130 304.2);
Tailwind
colors: {
  custom: {
    50: '#dabdfc',
    500: '#c9a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #c9a1fa;
$custom-light: #dabdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a1fa",
  "rgb": {
    "r": 201,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 266.966,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77781,
    "c": 0.13011,
    "h": 304.2
  },
  "luminance": 0.44809
}

Semantic roles & 50–950 ramp

primary
#C9A1FA
secondary
#E7F6D5
accent
#E6007E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C9A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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