#9A1F89#9A1F89

#9A1F89 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 334.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9A1F89
RGBrgb(154, 31, 137)
HSLhsl(308, 66%, 36%)
HSVhsv(308, 80%, 60%)
CMYKcmyk(0%, 79.9%, 11%, 39.6%)
CIE-LABlab(37.22, 59.48, -29.99)
CIE-LCHlch(37.22, 66.62, 333.25°)
OKLaboklab(48.43% 0.1734 -0.0821)
OKLCHoklch(48.43% 0.192 334.7)
XYZxyz(18.3320, 9.6578, 24.5607)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F89 #1F9A30
analogous
#6E1F9A #9A1F89 #9A1F4C
triadic
#9A1F89 #899A1F #1F899A
tetradic
#9A1F89 #9A6E1F #1F9A30 #1F4C9A
square
#9A1F89 #9A6E1F #1F9A30 #1F4C9A
split-complementary
#9A1F89 #4C9A1F #1F9A6E
monochromatic
#340A2E #67155C #9A1F89 #CD29B6 #DD56CA

Accessibility & contrast

On white

7.16
#9A1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F89
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F89#FFFFFF#000000##FFFFFF
##9A1F891.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A22B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1f89;
/* rgb */ color: rgb(154, 31, 137);
/* oklch */ color: oklch(48.4% 0.192 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9a1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f89;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f89",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 308.293,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.19188,
    "h": 334.7
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#9A1F89
secondary
#54C163
accent
#E9563E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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