#9B2A94#9B2A94

#9B2A94 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 330.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B2A94
RGBrgb(155, 42, 148)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 73%, 61%)
CMYKcmyk(0%, 72.9%, 4.5%, 39.2%)
CIE-LABlab(39.18, 58.01, -33.62)
CIE-LCHlch(39.18, 67.05, 329.91°)
OKLaboklab(50.06% 0.1649 -0.0927)
OKLCHoklch(50.06% 0.189 330.7)
XYZxyz(19.6908, 10.7641, 29.0518)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A94 #2A9B31
analogous
#692A9B #9B2A94 #9B2A5B
triadic
#9B2A94 #949B2A #2A949B
tetradic
#9B2A94 #9B692A #2A9B31 #2A5B9B
square
#9B2A94 #9B692A #2A9B31 #2A5B9B
split-complementary
#9B2A94 #5B9B2A #2A9B69
monochromatic
#3B1038 #6B1D66 #9B2A94 #C939C0 #D669D0

Accessibility & contrast

On white

6.66
#9B2A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B2A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2A94
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A94#FFFFFF#000000##FFFFFF
##9B2A941.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#4C6291
Tritanopia (blue-blind)
#A1385C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2a94;
/* rgb */ color: rgb(155, 42, 148);
/* oklch */ color: oklch(50.1% 0.189 330.7);
Tailwind
colors: {
  custom: {
    50: '#bc6fb4',
    500: '#9b2a94',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a94;
$custom-light: #bc6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a94",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 303.717,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.18919,
    "h": 330.7
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#9B2A94
secondary
#64BD69
accent
#E15147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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