#9A1D86#9A1D86

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

Color values

HEX#9A1D86
RGBrgb(154, 29, 134)
HSLhsl(310, 68%, 36%)
HSVhsv(310, 81%, 60%)
CMYKcmyk(0%, 81.2%, 13%, 39.6%)
CIE-LABlab(36.88, 59.58, -28.68)
CIE-LCHlch(36.88, 66.12, 334.30°)
OKLaboklab(48.14% 0.1748 -0.0783)
OKLCHoklch(48.14% 0.192 335.9)
XYZxyz(18.0692, 9.4717, 23.4262)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D86 #1D9A31
analogous
#6F1D9A #9A1D86 #9A1D47
triadic
#9A1D86 #869A1D #1D869A
tetradic
#9A1D86 #9A6F1D #1D9A31 #1D479A
square
#9A1D86 #9A6F1D #1D9A31 #1D479A
split-complementary
#9A1D86 #479A1D #1D9A6F
monochromatic
#330A2C #661359 #9A1D86 #CE27B3 #DF53C8

Accessibility & contrast

On white

7.26
#9A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D86
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D86#FFFFFF#000000##FFFFFF
##9A1D861.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A22851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1d86;
/* rgb */ color: rgb(154, 29, 134);
/* oklch */ color: oklch(48.1% 0.192 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc69a9',
    500: '#9a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d86;
$custom-light: #bc69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d86",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 309.6,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.19159,
    "h": 335.9
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#9A1D86
secondary
#51C263
accent
#EB593D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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