#9B1E97#9B1E97

#9B1E97 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.203 H 329.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B1E97
RGBrgb(155, 30, 151)
HSLhsl(302, 68%, 36%)
HSVhsv(302, 81%, 61%)
CMYKcmyk(0%, 80.6%, 2.6%, 39.2%)
CIE-LABlab(38.08, 62.13, -37.19)
CIE-LCHlch(38.08, 72.41, 329.10°)
OKLaboklab(49.33% 0.1754 -0.1029)
OKLCHoklch(49.33% 0.203 329.6)
XYZxyz(19.5676, 10.1330, 30.1974)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E97 #1E9B22
analogous
#611E9B #9B1E97 #9B1E59
triadic
#9B1E97 #979B1E #1E979B
tetradic
#9B1E97 #9B611E #1E9B22 #1E599B
square
#9B1E97 #9B611E #1E9B22 #1E599B
split-complementary
#9B1E97 #599B1E #1E9B61
monochromatic
#340A33 #681465 #9B1E97 #CE28C9 #DE55DA

Accessibility & contrast

On white

6.94
#9B1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B1E97
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E97#FFFFFF#000000##FFFFFF
##9B1E971.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A1325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1e97;
/* rgb */ color: rgb(155, 30, 151);
/* oklch */ color: oklch(49.3% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6bb6',
    500: '#9b1e97',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e97;
$custom-light: #bc6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e97",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 301.92,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.20337,
    "h": 329.6
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#9B1E97
secondary
#53C257
accent
#EA433D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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