#9B1FA8#9B1FA8

#9B1FA8 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.215 H 323.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B1FA8
RGBrgb(155, 31, 168)
HSLhsl(294, 69%, 39%)
HSVhsv(294, 82%, 66%)
CMYKcmyk(7.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(39.20, 64.69, -45.65)
CIE-LCHlch(39.20, 79.17, 324.79°)
OKLaboklab(50.46% 0.1736 -0.1276)
OKLCHoklch(50.46% 0.215 323.7)
XYZxyz(21.0748, 10.7770, 38.0083)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1FA8 #2CA81F
analogous
#571FA8 #9B1FA8 #A81F71
triadic
#9B1FA8 #A89B1F #1FA89B
tetradic
#9B1FA8 #A8571F #2CA81F #1F71A8
square
#9B1FA8 #A8571F #2CA81F #1F71A8
split-complementary
#9B1FA8 #71A81F #1FA857
monochromatic
#3C0C41 #6B1574 #9B1FA8 #C82CD8 #D560E2

Accessibility & contrast

On white

6.66
#9B1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B1FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1FA8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1FA8#FFFFFF#000000##FFFFFF
##9B1FA81.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#9E3C65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b1fa8;
/* rgb */ color: rgb(155, 31, 168);
/* oklch */ color: oklch(50.5% 0.215 323.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9b1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9b1fa8;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1fa8",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 294.307,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.21542,
    "h": 323.7
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#9B1FA8
secondary
#67C65D
accent
#EC3C4D
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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