#9A2387#9A2387

#9A2387 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.187 H 335.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9A2387
RGBrgb(154, 35, 135)
HSLhsl(310, 63%, 37%)
HSVhsv(310, 77%, 60%)
CMYKcmyk(0%, 77.3%, 12.3%, 39.6%)
CIE-LABlab(37.52, 58.02, -28.28)
CIE-LCHlch(37.52, 64.55, 334.02°)
OKLaboklab(48.62% 0.1698 -0.0772)
OKLCHoklch(48.62% 0.187 335.5)
XYZxyz(18.3009, 9.8230, 23.8492)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2387 #239A36
analogous
#72239A #9A2387 #9A234C
triadic
#9A2387 #879A23 #23879A
tetradic
#9A2387 #9A7223 #239A36 #234C9A
square
#9A2387 #9A7223 #239A36 #234C9A
split-complementary
#9A2387 #4C9A23 #239A72
monochromatic
#360C30 #68185B #9A2387 #CC2EB3 #DA5DC6

Accessibility & contrast

On white

7.08
#9A2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9A2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2387
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2387#FFFFFF#000000##FFFFFF
##9A23871.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A22D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2387;
/* rgb */ color: rgb(154, 35, 135);
/* oklch */ color: oklch(48.6% 0.187 335.5);
Tailwind
colors: {
  custom: {
    50: '#bb6caa',
    500: '#9a2387',
    950: '#000000',
  },
}
SCSS
$custom: #9a2387;
$custom-light: #bb6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2387",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 309.58,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.18657,
    "h": 335.5
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#9A2387
secondary
#5ABF6A
accent
#E65C42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9A2387

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

Preview Lab → · Contrast checker → · Palette generator →

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