#9B159E#9B159E

#9B159E is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.215 H 327.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9B159E
RGBrgb(155, 21, 158)
HSLhsl(299, 77%, 35%)
HSVhsv(299, 87%, 62%)
CMYKcmyk(1.9%, 86.7%, 0%, 38%)
CIE-LABlab(37.80, 65.30, -41.88)
CIE-LCHlch(37.80, 77.57, 327.32°)
OKLaboklab(49.26% 0.1808 -0.1165)
OKLCHoklch(49.26% 0.215 327.2)
XYZxyz(19.9570, 9.9750, 33.2154)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B159E #189E15
analogous
#56159E #9B159E #9E155D
triadic
#9B159E #9E9B15 #159E9B
tetradic
#9B159E #9E5615 #189E15 #155D9E
square
#9B159E #9E5615 #189E15 #155D9E
split-complementary
#9B159E #5D9E15 #159E56
monochromatic
#310732 #660E68 #9B159E #D01CD4 #E347E7

Accessibility & contrast

On white

7.01
#9B159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B159E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B159E#FFFFFF#000000##FFFFFF
##9B159E1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#A0325D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b159e;
/* rgb */ color: rgb(155, 21, 158);
/* oklch */ color: oklch(49.3% 0.215 327.2);
Tailwind
colors: {
  custom: {
    50: '#bd68bb',
    500: '#9b159e',
    950: '#000000',
  },
}
SCSS
$custom: #9b159e;
$custom-light: #bd68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b159e",
  "rgb": {
    "r": 155,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 298.686,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.21512,
    "h": 327.2
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#9B159E
secondary
#4AC747
accent
#F33539
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9B159E

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

Preview Lab → · Contrast checker → · Palette generator →

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