#9B219E#9B219E

#9B219E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9B219E
RGBrgb(155, 33, 158)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.9%, 79.1%, 0%, 38%)
CIE-LABlab(38.77, 62.46, -40.33)
CIE-LCHlch(38.77, 74.35, 327.15°)
OKLaboklab(49.95% 0.1729 -0.1121)
OKLCHoklch(49.95% 0.206 327)
XYZxyz(20.2327, 10.5264, 33.3073)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B219E #249E21
analogous
#5D219E #9B219E #9E2163
triadic
#9B219E #9E9B21 #219E9B
tetradic
#9B219E #9E5D21 #249E21 #21639E
square
#9B219E #9E5D21 #249E21 #21639E
split-complementary
#9B219E #639E21 #219E5D
monochromatic
#380C39 #69166B #9B219E #CD2CD1 #DA5CDD

Accessibility & contrast

On white

6.76
#9B219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B219E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B219E#FFFFFF#000000##FFFFFF
##9B219E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#43609B
Tritanopia (blue-blind)
#A03860
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b219e;
/* rgb */ color: rgb(155, 33, 158);
/* oklch */ color: oklch(50.0% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cbb',
    500: '#9b219e',
    950: '#000000',
  },
}
SCSS
$custom: #9b219e;
$custom-light: #bc6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b219e",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 298.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.20601,
    "h": 327
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#9B219E
secondary
#5CC159
accent
#E83F43
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9B219E

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

Preview Lab → · Contrast checker → · Palette generator →

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