#9B2098#9B2098

#9B2098 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.202 H 329.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9B2098
RGBrgb(155, 32, 152)
HSLhsl(301, 66%, 37%)
HSVhsv(301, 79%, 61%)
CMYKcmyk(0%, 79.4%, 1.9%, 39.2%)
CIE-LABlab(38.32, 61.76, -37.41)
CIE-LCHlch(38.32, 72.20, 328.80°)
OKLaboklab(49.52% 0.1739 -0.1036)
OKLCHoklch(49.52% 0.202 329.2)
XYZxyz(19.7014, 10.2701, 30.6444)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2098 #209B23
analogous
#61209B #9B2098 #9B205B
triadic
#9B2098 #989B20 #20989B
tetradic
#9B2098 #9B6120 #209B23 #205B9B
square
#9B2098 #9B6120 #209B23 #205B9B
split-complementary
#9B2098 #5B9B20 #209B61
monochromatic
#360B35 #681666 #9B2098 #CE2ACA #DD59D9

Accessibility & contrast

On white

6.88
#9B2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2098
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2098#FFFFFF#000000##FFFFFF
##9B20981.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#A1345C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2098;
/* rgb */ color: rgb(155, 32, 152);
/* oklch */ color: oklch(49.5% 0.202 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9b2098',
    950: '#000000',
  },
}
SCSS
$custom: #9b2098;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2098",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 301.463,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.20237,
    "h": 329.2
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#9B2098
secondary
#56C159
accent
#E9433F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2098

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

Preview Lab → · Contrast checker → · Palette generator →

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