#9A1B85#9A1B85

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

Color values

HEX#9A1B85
RGBrgb(154, 27, 133)
HSLhsl(310, 70%, 35%)
HSVhsv(310, 82%, 60%)
CMYKcmyk(0%, 82.5%, 13.6%, 39.6%)
CIE-LABlab(36.65, 59.95, -28.42)
CIE-LCHlch(36.65, 66.34, 334.64°)
OKLaboklab(47.96% 0.1763 -0.0776)
OKLCHoklch(47.96% 0.193 336.2)
XYZxyz(17.9523, 9.3491, 23.0448)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B85 #1B9A30
analogous
#6F1B9A #9A1B85 #9A1B46
triadic
#9A1B85 #859A1B #1B859A
tetradic
#9A1B85 #9A6F1B #1B9A30 #1B469A
square
#9A1B85 #9A6F1B #1B9A30 #1B469A
split-complementary
#9A1B85 #469A1B #1B9A6F
monochromatic
#32092B #661258 #9A1B85 #CE24B2 #E04FC8

Accessibility & contrast

On white

7.32
#9A1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1B85
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B85#FFFFFF#000000##FFFFFF
##9A1B851.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A88
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#A22650
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a1b85;
/* rgb */ color: rgb(154, 27, 133);
/* oklch */ color: oklch(48.0% 0.193 336.2);
Tailwind
colors: {
  custom: {
    50: '#bc69a9',
    500: '#9a1b85',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b85;
$custom-light: #bc69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b85",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 309.921,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.19263,
    "h": 336.2
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#9A1B85
secondary
#4EC361
accent
#ED583B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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