#9B2193#9B2193

#9B2193 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.198 H 331.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9B2193
RGBrgb(155, 33, 147)
HSLhsl(304, 65%, 37%)
HSVhsv(304, 79%, 61%)
CMYKcmyk(0%, 78.7%, 5.2%, 39.2%)
CIE-LABlab(38.14, 60.68, -34.66)
CIE-LCHlch(38.14, 69.88, 330.27°)
OKLaboklab(49.3% 0.1731 -0.0956)
OKLCHoklch(49.3% 0.198 331.1)
XYZxyz(19.3279, 10.1644, 28.5421)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2193 #219B29
analogous
#66219B #9B2193 #9B2156
triadic
#9B2193 #939B21 #21939B
tetradic
#9B2193 #9B6621 #219B29 #21569B
square
#9B2193 #9B6621 #219B29 #21569B
split-complementary
#9B2193 #569B21 #219B66
monochromatic
#360C33 #691663 #9B2193 #CD2CC3 #DC5AD3

Accessibility & contrast

On white

6.92
#9B2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B2193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2193
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2193#FFFFFF#000000##FFFFFF
##9B21931.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#A13259
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2193;
/* rgb */ color: rgb(155, 33, 147);
/* oklch */ color: oklch(49.3% 0.198 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6cb3',
    500: '#9b2193',
    950: '#000000',
  },
}
SCSS
$custom: #9b2193;
$custom-light: #bc6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2193",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 303.934,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.19775,
    "h": 331.1
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#9B2193
secondary
#58C05E
accent
#E84B40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2193

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

Preview Lab → · Contrast checker → · Palette generator →

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