#9A1B86#9A1B86

#9A1B86 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.193 H 335.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9A1B86
RGBrgb(154, 27, 134)
HSLhsl(309, 70%, 35%)
HSVhsv(309, 82%, 60%)
CMYKcmyk(0%, 82.5%, 13%, 39.6%)
CIE-LABlab(36.70, 60.09, -28.95)
CIE-LCHlch(36.70, 66.70, 334.27°)
OKLaboklab(48.01% 0.1764 -0.0791)
OKLCHoklch(48.01% 0.193 335.8)
XYZxyz(18.0217, 9.3768, 23.4104)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B86 #1B9A2F
analogous
#6E1B9A #9A1B86 #9A1B46
triadic
#9A1B86 #869A1B #1B869A
tetradic
#9A1B86 #9A6E1B #1B9A2F #1B469A
square
#9A1B86 #9A6E1B #1B9A2F #1B469A
split-complementary
#9A1B86 #469A1B #1B9A6E
monochromatic
#32092B #661259 #9A1B86 #CE24B3 #E04FC9

Accessibility & contrast

On white

7.30
#9A1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1B86
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B86#FFFFFF#000000##FFFFFF
##9A1B861.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A22751
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1b86;
/* rgb */ color: rgb(154, 27, 134);
/* oklch */ color: oklch(48.0% 0.193 335.8);
Tailwind
colors: {
  custom: {
    50: '#bc69a9',
    500: '#9a1b86',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b86;
$custom-light: #bc69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b86",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 309.449,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.19331,
    "h": 335.8
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#9A1B86
secondary
#4EC360
accent
#ED573B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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