#9B2293#9B2293

#9B2293 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.197 H 331.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9B2293
RGBrgb(155, 34, 147)
HSLhsl(304, 64%, 37%)
HSVhsv(304, 78%, 61%)
CMYKcmyk(0%, 78.1%, 5.2%, 39.2%)
CIE-LABlab(38.24, 60.39, -34.50)
CIE-LCHlch(38.24, 69.55, 330.26°)
OKLaboklab(49.37% 0.1723 -0.0952)
OKLCHoklch(49.37% 0.197 331.1)
XYZxyz(19.3560, 10.2208, 28.5515)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2293 #229B2A
analogous
#67229B #9B2293 #9B2257
triadic
#9B2293 #939B22 #22939B
tetradic
#9B2293 #9B6722 #229B2A #22579B
square
#9B2293 #9B6722 #229B2A #22579B
split-complementary
#9B2293 #579B22 #229B67
monochromatic
#370C34 #691763 #9B2293 #CD2DC3 #DB5CD3

Accessibility & contrast

On white

6.90
#9B2293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B2293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2293
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2293#FFFFFF#000000##FFFFFF
##9B22931.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A1325A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2293;
/* rgb */ color: rgb(155, 34, 147);
/* oklch */ color: oklch(49.4% 0.197 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc6cb3',
    500: '#9b2293',
    950: '#000000',
  },
}
SCSS
$custom: #9b2293;
$custom-light: #bc6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2293",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 303.967,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.1968,
    "h": 331.1
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#9B2293
secondary
#59C060
accent
#E74C41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2293

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

Preview Lab → · Contrast checker → · Palette generator →

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