#9B2A93#9B2A93

#9B2A93 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.188 H 331.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9B2A93
RGBrgb(155, 42, 147)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 73%, 61%)
CMYKcmyk(0%, 72.9%, 5.2%, 39.2%)
CIE-LABlab(39.13, 57.85, -33.09)
CIE-LCHlch(39.13, 66.64, 330.23°)
OKLaboklab(50.01% 0.1649 -0.0911)
OKLCHoklch(50.01% 0.188 331.1)
XYZxyz(19.6120, 10.7326, 28.6368)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A93 #2A9B32
analogous
#6A2A9B #9B2A93 #9B2A5A
triadic
#9B2A93 #939B2A #2A939B
tetradic
#9B2A93 #9B6A2A #2A9B32 #2A5A9B
square
#9B2A93 #9B6A2A #2A9B32 #2A5A9B
split-complementary
#9B2A93 #5A9B2A #2A9B6A
monochromatic
#3B1038 #6B1D65 #9B2A93 #C939BF #D669CF

Accessibility & contrast

On white

6.67
#9B2A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2A93
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A93#FFFFFF#000000##FFFFFF
##9B2A931.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A1385C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2a93;
/* rgb */ color: rgb(155, 42, 147);
/* oklch */ color: oklch(50.0% 0.188 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6fb3',
    500: '#9b2a93',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a93;
$custom-light: #bc6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a93",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 304.248,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.18842,
    "h": 331.1
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#9B2A93
secondary
#64BD6A
accent
#E15247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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