#9A1E86#9A1E86

#9A1E86 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 335.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A1E86
RGBrgb(154, 30, 134)
HSLhsl(310, 67%, 36%)
HSVhsv(310, 81%, 60%)
CMYKcmyk(0%, 80.5%, 13%, 39.6%)
CIE-LABlab(36.97, 59.31, -28.53)
CIE-LCHlch(36.97, 65.82, 334.31°)
OKLaboklab(48.2% 0.1741 -0.0779)
OKLCHoklch(48.2% 0.191 335.9)
XYZxyz(18.0941, 9.5215, 23.4345)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E86 #1E9A32
analogous
#701E9A #9A1E86 #9A1E48
triadic
#9A1E86 #869A1E #1E869A
tetradic
#9A1E86 #9A701E #1E9A32 #1E489A
square
#9A1E86 #9A701E #1E9A32 #1E489A
split-complementary
#9A1E86 #489A1E #1E9A70
monochromatic
#340A2D #671459 #9A1E86 #CD28B3 #DE55C8

Accessibility & contrast

On white

7.23
#9A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E86
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E86#FFFFFF#000000##FFFFFF
##9A1E861.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4E5D83
Tritanopia (blue-blind)
#A22951
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1e86;
/* rgb */ color: rgb(154, 30, 134);
/* oklch */ color: oklch(48.2% 0.191 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e86;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e86",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 309.677,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.1907,
    "h": 335.9
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#9A1E86
secondary
#53C164
accent
#EA593E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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