#9B1E98#9B1E98

#9B1E98 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 329.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9B1E98
RGBrgb(155, 30, 152)
HSLhsl(301, 68%, 36%)
HSVhsv(301, 81%, 61%)
CMYKcmyk(0%, 80.6%, 1.9%, 39.2%)
CIE-LABlab(38.14, 62.29, -37.70)
CIE-LCHlch(38.14, 72.81, 328.82°)
OKLaboklab(49.39% 0.1754 -0.1044)
OKLCHoklch(49.39% 0.204 329.2)
XYZxyz(19.6492, 10.1656, 30.6269)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E98 #1E9B21
analogous
#601E9B #9B1E98 #9B1E5A
triadic
#9B1E98 #989B1E #1E989B
tetradic
#9B1E98 #9B601E #1E9B21 #1E5A9B
square
#9B1E98 #9B601E #1E9B21 #1E5A9B
split-complementary
#9B1E98 #5A9B1E #1E9B60
monochromatic
#340A33 #681466 #9B1E98 #CE28CA #DE55DB

Accessibility & contrast

On white

6.92
#9B1E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B1E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1E98
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E98#FFFFFF#000000##FFFFFF
##9B1E981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#A1335C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1e98;
/* rgb */ color: rgb(155, 30, 152);
/* oklch */ color: oklch(49.4% 0.204 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9b1e98',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e98;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e98",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 301.44,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.20412,
    "h": 329.2
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#9B1E98
secondary
#53C256
accent
#EA423D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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