#9B1893#9B1893

#9B1893 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.205 H 331.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9B1893
RGBrgb(155, 24, 147)
HSLhsl(304, 73%, 35%)
HSVhsv(304, 85%, 61%)
CMYKcmyk(0%, 84.5%, 5.2%, 39.2%)
CIE-LABlab(37.35, 62.95, -35.90)
CIE-LCHlch(37.35, 72.47, 330.30°)
OKLaboklab(48.74% 0.1797 -0.0992)
OKLCHoklch(48.74% 0.205 331.1)
XYZxyz(19.1107, 9.7300, 28.4697)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1893 #189B20
analogous
#61189B #9B1893 #9B1852
triadic
#9B1893 #939B18 #18939B
tetradic
#9B1893 #9B6118 #189B20 #18529B
square
#9B1893 #9B6118 #189B20 #18529B
split-complementary
#9B1893 #529B18 #189B61
monochromatic
#31082E #661061 #9B1893 #D020C5 #E34ADA

Accessibility & contrast

On white

7.13
#9B1893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B1893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1893
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1893#FFFFFF#000000##FFFFFF
##9B18931.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#A12D58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1893;
/* rgb */ color: rgb(155, 24, 147);
/* oklch */ color: oklch(48.7% 0.205 331.1);
Tailwind
colors: {
  custom: {
    50: '#bd69b3',
    500: '#9b1893',
    950: '#000000',
  },
}
SCSS
$custom: #9b1893;
$custom-light: #bd69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1893",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 303.664,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.2052,
    "h": 331.1
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#9B1893
secondary
#4AC552
accent
#F04338
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9B1893

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

Preview Lab → · Contrast checker → · Palette generator →

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