#9A1FA0#9A1FA0

#9A1FA0 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.209 H 326.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A1FA0
RGBrgb(154, 31, 160)
HSLhsl(297, 68%, 37%)
HSVhsv(297, 81%, 63%)
CMYKcmyk(3.8%, 80.6%, 0%, 37.3%)
CIE-LABlab(38.53, 63.14, -41.92)
CIE-LCHlch(38.53, 75.79, 326.42°)
OKLaboklab(49.79% 0.1732 -0.1167)
OKLCHoklch(49.79% 0.209 326)
XYZxyz(20.1612, 10.3895, 34.1944)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1FA0 #25A01F
analogous
#591FA0 #9A1FA0 #A01F66
triadic
#9A1FA0 #A09A1F #1FA09A
tetradic
#9A1FA0 #A0591F #25A01F #1F66A0
square
#9A1FA0 #A0591F #25A01F #1F66A0
split-complementary
#9A1FA0 #66A01F #1FA059
monochromatic
#370B39 #69156D #9A1FA0 #CB29D3 #D95ADF

Accessibility & contrast

On white

6.82
#9A1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1FA0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1FA0#FFFFFF#000000##FFFFFF
##9A1FA01.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#9E3860
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a1fa0;
/* rgb */ color: rgb(154, 31, 160);
/* oklch */ color: oklch(49.8% 0.209 326.0);
Tailwind
colors: {
  custom: {
    50: '#bc6bbd',
    500: '#9a1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9a1fa0;
$custom-light: #bc6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1fa0",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 297.209,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.20884,
    "h": 326
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#9A1FA0
secondary
#5DC358
accent
#EA3D45
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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