#9B2297#9B2297

#9B2297 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.6% C 0.200 H 329.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2297
RGBrgb(155, 34, 151)
HSLhsl(302, 64%, 37%)
HSVhsv(302, 78%, 61%)
CMYKcmyk(0%, 78.1%, 2.6%, 39.2%)
CIE-LABlab(38.46, 61.03, -36.58)
CIE-LCHlch(38.46, 71.16, 329.06°)
OKLaboklab(49.6% 0.1723 -0.1012)
OKLCHoklch(49.6% 0.2 329.6)
XYZxyz(19.6754, 10.3485, 30.2333)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2297 #229B26
analogous
#62229B #9B2297 #9B225B
triadic
#9B2297 #979B22 #22979B
tetradic
#9B2297 #9B6222 #229B26 #225B9B
square
#9B2297 #9B6222 #229B26 #225B9B
split-complementary
#9B2297 #5B9B22 #229B62
monochromatic
#370C35 #691766 #9B2297 #CD2DC8 #DB5CD7

Accessibility & contrast

On white

6.84
#9B2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2297
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2297#FFFFFF#000000##FFFFFF
##9B22971.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A1345C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2297;
/* rgb */ color: rgb(155, 34, 151);
/* oklch */ color: oklch(49.6% 0.200 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb6',
    500: '#9b2297',
    950: '#000000',
  },
}
SCSS
$custom: #9b2297;
$custom-light: #bc6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2297",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 301.983,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.19979,
    "h": 329.6
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#9B2297
secondary
#59C05C
accent
#E74641
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2297

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

Preview Lab → · Contrast checker → · Palette generator →

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