#9B2198#9B2198

#9B2198 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.201 H 329.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2198
RGBrgb(155, 33, 152)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 61%)
CMYKcmyk(0%, 78.7%, 1.9%, 39.2%)
CIE-LABlab(38.42, 61.48, -37.25)
CIE-LCHlch(38.42, 71.89, 328.79°)
OKLaboklab(49.59% 0.1731 -0.1031)
OKLCHoklch(49.59% 0.201 329.2)
XYZxyz(19.7288, 10.3248, 30.6535)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2198 #219B24
analogous
#61219B #9B2198 #9B215B
triadic
#9B2198 #989B21 #21989B
tetradic
#9B2198 #9B6121 #219B24 #215B9B
square
#9B2198 #9B6121 #219B24 #215B9B
split-complementary
#9B2198 #5B9B21 #219B61
monochromatic
#360C35 #691667 #9B2198 #CD2CC9 #DC5AD9

Accessibility & contrast

On white

6.85
#9B2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2198
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2198#FFFFFF#000000##FFFFFF
##9B21981.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#A1345C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2198;
/* rgb */ color: rgb(155, 33, 152);
/* oklch */ color: oklch(49.6% 0.201 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9b2198',
    950: '#000000',
  },
}
SCSS
$custom: #9b2198;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2198",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 301.475,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.20147,
    "h": 329.2
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#9B2198
secondary
#58C05A
accent
#E84440
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2198

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

Preview Lab → · Contrast checker → · Palette generator →

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