#9B2598#9B2598

#9B2598 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 329.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B2598
RGBrgb(155, 37, 152)
HSLhsl(302, 61%, 38%)
HSVhsv(302, 76%, 61%)
CMYKcmyk(0%, 76.1%, 1.9%, 39.2%)
CIE-LABlab(38.83, 60.30, -36.60)
CIE-LCHlch(38.83, 70.54, 328.74°)
OKLaboklab(49.88% 0.1697 -0.1013)
OKLCHoklch(49.88% 0.198 329.2)
XYZxyz(19.8465, 10.5602, 30.6927)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2598 #259B28
analogous
#63259B #9B2598 #9B255D
triadic
#9B2598 #989B25 #25989B
tetradic
#9B2598 #9B6325 #259B28 #255D9B
square
#9B2598 #9B6325 #259B28 #255D9B
split-complementary
#9B2598 #5D9B25 #259B63
monochromatic
#380D37 #6A1968 #9B2598 #CC31C8 #D961D6

Accessibility & contrast

On white

6.75
#9B2598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2598
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2598#FFFFFF#000000##FFFFFF
##9B25981.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#A1375D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2598;
/* rgb */ color: rgb(155, 37, 152);
/* oklch */ color: oklch(49.9% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6db7',
    500: '#9b2598',
    950: '#000000',
  },
}
SCSS
$custom: #9b2598;
$custom-light: #bc6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2598",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 301.525,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.19762,
    "h": 329.2
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#9B2598
secondary
#5DBF60
accent
#E54743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2598

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

Preview Lab → · Contrast checker → · Palette generator →

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