#9A1FB0#9A1FB0

#9A1FB0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.221 H 320.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9A1FB0
RGBrgb(154, 31, 176)
HSLhsl(291, 70%, 41%)
HSVhsv(291, 82%, 69%)
CMYKcmyk(12.5%, 82.4%, 0%, 31%)
CIE-LABlab(39.56, 65.90, -49.85)
CIE-LCHlch(39.56, 82.63, 322.89°)
OKLaboklab(50.84% 0.1714 -0.1399)
OKLCHoklch(50.84% 0.221 320.8)
XYZxyz(21.6520, 10.9858, 42.0459)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1FB0 #35B01F
analogous
#521FB0 #9A1FB0 #B01F7D
triadic
#9A1FB0 #B09A1F #1FB09A
tetradic
#9A1FB0 #B0521F #35B01F #1F7DB0
square
#9A1FB0 #B0521F #35B01F #1F7DB0
split-complementary
#9A1FB0 #7DB01F #1FB052
monochromatic
#3F0D48 #6C167C #9A1FB0 #C131DB #D165E4

Accessibility & contrast

On white

6.57
#9A1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9A1FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1FB0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1FB0#FFFFFF#000000##FFFFFF
##9A1FB01.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#9B406A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a1fb0;
/* rgb */ color: rgb(154, 31, 176);
/* oklch */ color: oklch(50.8% 0.221 320.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cc8',
    500: '#9a1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #9a1fb0;
$custom-light: #bc6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1fb0",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 290.897,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.22129,
    "h": 320.8
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#9A1FB0
secondary
#71C962
accent
#ED3B56
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9A1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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