#9B2296#9B2296

#9B2296 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.199 H 329.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B2296
RGBrgb(155, 34, 150)
HSLhsl(302, 64%, 37%)
HSVhsv(302, 78%, 61%)
CMYKcmyk(0%, 78.1%, 3.2%, 39.2%)
CIE-LABlab(38.40, 60.87, -36.06)
CIE-LCHlch(38.40, 70.75, 329.36°)
OKLaboklab(49.54% 0.1723 -0.0997)
OKLCHoklch(49.54% 0.199 329.9)
XYZxyz(19.5945, 10.3162, 29.8075)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2296 #229B27
analogous
#63229B #9B2296 #9B225A
triadic
#9B2296 #969B22 #22969B
tetradic
#9B2296 #9B6322 #229B27 #225A9B
square
#9B2296 #9B6322 #229B27 #225A9B
split-complementary
#9B2296 #5A9B22 #229B63
monochromatic
#370C35 #691765 #9B2296 #CD2DC7 #DB5CD6

Accessibility & contrast

On white

6.86
#9B2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2296
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2296#FFFFFF#000000##FFFFFF
##9B22961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5099
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A1345B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2296;
/* rgb */ color: rgb(155, 34, 150);
/* oklch */ color: oklch(49.5% 0.199 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc6cb5',
    500: '#9b2296',
    950: '#000000',
  },
}
SCSS
$custom: #9b2296;
$custom-light: #bc6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2296",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 302.479,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.19903,
    "h": 329.9
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#9B2296
secondary
#59C05D
accent
#E74841
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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