#9B1FA6#9B1FA6

#9B1FA6 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.214 H 324.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9B1FA6
RGBrgb(155, 31, 166)
HSLhsl(295, 69%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(6.6%, 81.3%, 0%, 34.9%)
CIE-LABlab(39.08, 64.35, -44.65)
CIE-LCHlch(39.08, 78.32, 325.24°)
OKLaboklab(50.33% 0.1738 -0.1247)
OKLCHoklch(50.33% 0.214 324.3)
XYZxyz(20.8899, 10.7031, 37.0346)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1FA6 #2AA61F
analogous
#571FA6 #9B1FA6 #A61F6D
triadic
#9B1FA6 #A69B1F #1FA69B
tetradic
#9B1FA6 #A6571F #2AA61F #1F6DA6
square
#9B1FA6 #A6571F #2AA61F #1F6DA6
split-complementary
#9B1FA6 #6DA61F #1FA657
monochromatic
#3B0C3F #6B1572 #9B1FA6 #C92BD7 #D65EE1

Accessibility & contrast

On white

6.69
#9B1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B1FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1FA6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1FA6#FFFFFF#000000##FFFFFF
##9B1FA61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#9E3B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b1fa6;
/* rgb */ color: rgb(155, 31, 166);
/* oklch */ color: oklch(50.3% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#bd6cc1',
    500: '#9b1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #9b1fa6;
$custom-light: #bd6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1fa6",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 295.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.21387,
    "h": 324.3
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#9B1FA6
secondary
#64C55B
accent
#EB3C4B
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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