#9B219A#9B219A

#9B219A is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 328.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9B219A
RGBrgb(155, 33, 154)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 61%)
CMYKcmyk(0%, 78.7%, 0.6%, 39.2%)
CIE-LABlab(38.53, 61.80, -38.28)
CIE-LCHlch(38.53, 72.70, 328.23°)
OKLaboklab(49.71% 0.173 -0.1061)
OKLCHoklch(49.71% 0.203 328.5)
XYZxyz(19.8940, 10.3909, 31.5234)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B219A #219B22
analogous
#5F219B #9B219A #9B215D
triadic
#9B219A #9A9B21 #219A9B
tetradic
#9B219A #9B5F21 #219B22 #215D9B
square
#9B219A #9B5F21 #219B22 #215D9B
split-complementary
#9B219A #5D9B21 #219B5F
monochromatic
#360C36 #691668 #9B219A #CD2CCC #DC5ADB

Accessibility & contrast

On white

6.82
#9B219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B219A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B219A#FFFFFF#000000##FFFFFF
##9B219A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#A0355D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b219a;
/* rgb */ color: rgb(155, 33, 154);
/* oklch */ color: oklch(49.7% 0.203 328.5);
Tailwind
colors: {
  custom: {
    50: '#bc6cb8',
    500: '#9b219a',
    950: '#000000',
  },
}
SCSS
$custom: #9b219a;
$custom-light: #bc6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b219a",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 300.492,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.20298,
    "h": 328.5
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#9B219A
secondary
#58C058
accent
#E84140
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B219A

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

Preview Lab → · Contrast checker → · Palette generator →

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