#9B2B93#9B2B93

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

Color values

HEX#9B2B93
RGBrgb(155, 43, 147)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 72%, 61%)
CMYKcmyk(0%, 72.3%, 5.2%, 39.2%)
CIE-LABlab(39.25, 57.50, -32.90)
CIE-LCHlch(39.25, 66.24, 330.22°)
OKLaboklab(50.09% 0.1639 -0.0906)
OKLCHoklch(50.09% 0.187 331.1)
XYZxyz(19.6479, 10.8044, 28.6487)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B93 #2B9B33
analogous
#6B2B9B #9B2B93 #9B2B5B
triadic
#9B2B93 #939B2B #2B939B
tetradic
#9B2B93 #9B6B2B #2B9B33 #2B5B9B
square
#9B2B93 #9B6B2B #2B9B33 #2B5B9B
split-complementary
#9B2B93 #5B9B2B #2B9B6B
monochromatic
#3B1038 #6B1E66 #9B2B93 #C93BBE #D66BCE

Accessibility & contrast

On white

6.64
#9B2B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B2B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B93
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B93#FFFFFF#000000##FFFFFF
##9B2B931.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2b93;
/* rgb */ color: rgb(155, 43, 147);
/* oklch */ color: oklch(50.1% 0.187 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc70b3',
    500: '#9b2b93',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b93;
$custom-light: #bc70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b93",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 304.286,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.18726,
    "h": 331.1
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#9B2B93
secondary
#65BC6C
accent
#E05348
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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