#9B18A1#9B18A1

#9B18A1 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.215 H 326.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B18A1
RGBrgb(155, 24, 161)
HSLhsl(297, 74%, 36%)
HSVhsv(297, 85%, 63%)
CMYKcmyk(3.7%, 85.1%, 0%, 36.9%)
CIE-LABlab(38.19, 65.17, -43.06)
CIE-LCHlch(38.19, 78.11, 326.55°)
OKLaboklab(49.6% 0.1788 -0.12)
OKLCHoklch(49.6% 0.215 326.1)
XYZxyz(20.2768, 10.1965, 34.6114)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B18A1 #1EA118
analogous
#5718A1 #9B18A1 #A11863
triadic
#9B18A1 #A19B18 #18A19B
tetradic
#9B18A1 #A15718 #1EA118 #1863A1
square
#9B18A1 #A15718 #1EA118 #1863A1
split-complementary
#9B18A1 #63A118 #18A157
monochromatic
#340836 #68106C #9B18A1 #CE20D6 #DE4FE5

Accessibility & contrast

On white

6.91
#9B18A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B18A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B18A1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B18A1#FFFFFF#000000##FFFFFF
##9B18A11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#9F3560
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b18a1;
/* rgb */ color: rgb(155, 24, 161);
/* oklch */ color: oklch(49.6% 0.215 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd69bd',
    500: '#9b18a1',
    950: '#000000',
  },
}
SCSS
$custom: #9b18a1;
$custom-light: #bd69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b18a1",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 297.372,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.21536,
    "h": 326.1
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#9B18A1
secondary
#53C74E
accent
#F1373F
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9B18A1

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

Preview Lab → · Contrast checker → · Palette generator →

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