#9B2498#9B2498

#9B2498 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 329.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B2498
RGBrgb(155, 36, 152)
HSLhsl(302, 62%, 37%)
HSVhsv(302, 77%, 61%)
CMYKcmyk(0%, 76.8%, 1.9%, 39.2%)
CIE-LABlab(38.72, 60.60, -36.77)
CIE-LCHlch(38.72, 70.89, 328.75°)
OKLaboklab(49.81% 0.1706 -0.1017)
OKLCHoklch(49.81% 0.199 329.2)
XYZxyz(19.8158, 10.4988, 30.6825)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2498 #249B27
analogous
#63249B #9B2498 #9B245C
triadic
#9B2498 #989B24 #24989B
tetradic
#9B2498 #9B6324 #249B27 #245C9B
square
#9B2498 #9B6324 #249B27 #245C9B
split-complementary
#9B2498 #5C9B24 #249B63
monochromatic
#380D37 #691867 #9B2498 #CD30C9 #DA5FD7

Accessibility & contrast

On white

6.78
#9B2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2498
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2498#FFFFFF#000000##FFFFFF
##9B24981.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#A1365D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2498;
/* rgb */ color: rgb(155, 36, 152);
/* oklch */ color: oklch(49.8% 0.199 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6db7',
    500: '#9b2498',
    950: '#000000',
  },
}
SCSS
$custom: #9b2498;
$custom-light: #bc6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2498",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 301.513,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.19861,
    "h": 329.2
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#9B2498
secondary
#5CBF5E
accent
#E54742
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2498

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

Preview Lab → · Contrast checker → · Palette generator →

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