#9A2087#9A2087

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

Color values

HEX#9A2087
RGBrgb(154, 32, 135)
HSLhsl(309, 66%, 36%)
HSVhsv(309, 79%, 60%)
CMYKcmyk(0%, 79.2%, 12.3%, 39.6%)
CIE-LABlab(37.21, 58.91, -28.76)
CIE-LCHlch(37.21, 65.55, 333.97°)
OKLaboklab(48.4% 0.1725 -0.0786)
OKLCHoklch(48.4% 0.19 335.5)
XYZxyz(18.2164, 9.6540, 23.8210)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2087 #209A33
analogous
#70209A #9A2087 #9A204A
triadic
#9A2087 #879A20 #20879A
tetradic
#9A2087 #9A7020 #209A33 #204A9A
square
#9A2087 #9A7020 #209A33 #204A9A
split-complementary
#9A2087 #4A9A20 #209A70
monochromatic
#350B2E #67155B #9A2087 #CD2BB3 #DC58C8

Accessibility & contrast

On white

7.17
#9A2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2087
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2087#FFFFFF#000000##FFFFFF
##9A20871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A22B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2087;
/* rgb */ color: rgb(154, 32, 135);
/* oklch */ color: oklch(48.4% 0.190 335.5);
Tailwind
colors: {
  custom: {
    50: '#bc6baa',
    500: '#9a2087',
    950: '#000000',
  },
}
SCSS
$custom: #9a2087;
$custom-light: #bc6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2087",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 309.344,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.18954,
    "h": 335.5
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#9A2087
secondary
#56C066
accent
#E95A3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2087

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

Preview Lab → · Contrast checker → · Palette generator →

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