#9B149E#9B149E

#9B149E is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.216 H 327.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9B149E
RGBrgb(155, 20, 158)
HSLhsl(299, 78%, 35%)
HSVhsv(299, 87%, 62%)
CMYKcmyk(1.9%, 87.3%, 0%, 38%)
CIE-LABlab(37.73, 65.49, -41.98)
CIE-LCHlch(37.73, 77.79, 327.34°)
OKLaboklab(49.22% 0.1814 -0.1168)
OKLCHoklch(49.22% 0.216 327.2)
XYZxyz(19.9390, 9.9390, 33.2094)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B149E #179E14
analogous
#56149E #9B149E #9E145C
triadic
#9B149E #9E9B14 #149E9B
tetradic
#9B149E #9E5614 #179E14 #145C9E
square
#9B149E #9E5614 #179E14 #145C9E
split-complementary
#9B149E #5C9E14 #149E56
monochromatic
#300631 #660D68 #9B149E #D01BD4 #E445E7

Accessibility & contrast

On white

7.03
#9B149E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B149E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B149E#FFFFFF#000000##FFFFFF
##9B149E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b149e;
/* rgb */ color: rgb(155, 20, 158);
/* oklch */ color: oklch(49.2% 0.216 327.2);
Tailwind
colors: {
  custom: {
    50: '#bd68bb',
    500: '#9b149e',
    950: '#000000',
  },
}
SCSS
$custom: #9b149e;
$custom-light: #bd68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b149e",
  "rgb": {
    "r": 155,
    "g": 20,
    "b": 158
  },
  "hsl": {
    "h": 298.696,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.21573,
    "h": 327.2
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#9B149E
secondary
#49C846
accent
#F43438
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9B149E

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

Preview Lab → · Contrast checker → · Palette generator →

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