#9B2495#9B2495

#9B2495 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 330.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9B2495
RGBrgb(155, 36, 149)
HSLhsl(303, 62%, 37%)
HSVhsv(303, 77%, 61%)
CMYKcmyk(0%, 76.8%, 3.9%, 39.2%)
CIE-LABlab(38.55, 60.12, -35.22)
CIE-LCHlch(38.55, 69.67, 329.64°)
OKLaboklab(49.63% 0.1706 -0.0972)
OKLCHoklch(49.63% 0.196 330.3)
XYZxyz(19.5732, 10.4018, 29.4048)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2495 #249B2A
analogous
#65249B #9B2495 #9B245A
triadic
#9B2495 #959B24 #24959B
tetradic
#9B2495 #9B6524 #249B2A #245A9B
square
#9B2495 #9B6524 #249B2A #245A9B
split-complementary
#9B2495 #5A9B24 #249B65
monochromatic
#380D36 #691865 #9B2495 #CD30C5 #DA5FD4

Accessibility & contrast

On white

6.82
#9B2495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B2495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2495
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2495#FFFFFF#000000##FFFFFF
##9B24951.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145098
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A1355B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2495;
/* rgb */ color: rgb(155, 36, 149);
/* oklch */ color: oklch(49.6% 0.196 330.3);
Tailwind
colors: {
  custom: {
    50: '#bc6db4',
    500: '#9b2495',
    950: '#000000',
  },
}
SCSS
$custom: #9b2495;
$custom-light: #bc6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2495",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 303.025,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.19634,
    "h": 330.3
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#9B2495
secondary
#5CBF61
accent
#E54B42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2495

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

Preview Lab → · Contrast checker → · Palette generator →

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