#9A1CA1#9A1CA1

#9A1CA1 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.212 H 325.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A1CA1
RGBrgb(154, 28, 161)
HSLhsl(297, 70%, 37%)
HSVhsv(297, 83%, 63%)
CMYKcmyk(4.3%, 82.6%, 0%, 36.9%)
CIE-LABlab(38.33, 64.07, -42.85)
CIE-LCHlch(38.33, 77.07, 326.23°)
OKLaboklab(49.67% 0.1752 -0.1194)
OKLCHoklch(49.67% 0.212 325.7)
XYZxyz(20.1743, 10.2752, 34.6320)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1CA1 #23A11C
analogous
#581CA1 #9A1CA1 #A11C66
triadic
#9A1CA1 #A19A1C #1CA19A
tetradic
#9A1CA1 #A1581C #23A11C #1C66A1
square
#9A1CA1 #A1581C #23A11C #1C66A1
split-complementary
#9A1CA1 #66A11C #1CA158
monochromatic
#360A39 #68136D #9A1CA1 #CC25D5 #DA56E2

Accessibility & contrast

On white

6.87
#9A1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A1CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1CA1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1CA1#FFFFFF#000000##FFFFFF
##9A1CA11.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3E5F9E
Tritanopia (blue-blind)
#9E3760
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a1ca1;
/* rgb */ color: rgb(154, 28, 161);
/* oklch */ color: oklch(49.7% 0.212 325.7);
Tailwind
colors: {
  custom: {
    50: '#bc6abd',
    500: '#9a1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9a1ca1;
$custom-light: #bc6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1ca1",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 296.842,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.21204,
    "h": 325.7
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#9A1CA1
secondary
#5AC554
accent
#ED3B44
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#9A1CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva