#C5A1FA#C5A1FA

#C5A1FA is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.4% C 0.129 H 302.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C5A1FA
RGBrgb(197, 161, 250)
HSLhsl(264, 90%, 81%)
HSVhsv(264, 36%, 98%)
CMYKcmyk(21.2%, 35.6%, 0%, 2%)
CIE-LABlab(72.40, 30.55, -39.47)
CIE-LCHlch(72.40, 49.92, 307.74°)
OKLaboklab(77.42% 0.0686 -0.1094)
OKLCHoklch(77.42% 0.129 302.1)
XYZxyz(53.0225, 44.2622, 96.1740)
Luminance0.4426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A1FA #D6FAA1
analogous
#A1A9FA #C5A1FA #F2A1FA
triadic
#C5A1FA #FAC5A1 #A1FAC5
tetradic
#C5A1FA #FAA1A9 #D6FAA1 #A1FAF2
square
#C5A1FA #FAA1A9 #D6FAA1 #A1FAF2
split-complementary
#C5A1FA #FAF2A1 #A9FAA1
monochromatic
#7D2DF4 #A167F7 #C5A1FA #E9DBFD #EDE2FD

Accessibility & contrast

On white

2.13
#C5A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C5A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A1FA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A1FA#FFFFFF#000000##000000
##C5A1FA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#BCAFC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5a1fa;
/* rgb */ color: rgb(197, 161, 250);
/* oklch */ color: oklch(77.4% 0.129 302.1);
Tailwind
colors: {
  custom: {
    50: '#d8bdfc',
    500: '#c5a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #c5a1fa;
$custom-light: #d8bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a1fa",
  "rgb": {
    "r": 197,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 264.27,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7742,
    "c": 0.12912,
    "h": 302.1
  },
  "luminance": 0.44262
}

Semantic roles & 50–950 ramp

primary
#C5A1FA
secondary
#E9F6D5
accent
#E60089
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #C5A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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