#9A2086#9A2086

#9A2086 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 335.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9A2086
RGBrgb(154, 32, 134)
HSLhsl(310, 66%, 36%)
HSVhsv(310, 79%, 60%)
CMYKcmyk(0%, 79.2%, 13%, 39.6%)
CIE-LABlab(37.16, 58.76, -28.23)
CIE-LCHlch(37.16, 65.19, 334.34°)
OKLaboklab(48.34% 0.1724 -0.0771)
OKLCHoklch(48.34% 0.189 335.9)
XYZxyz(18.1463, 9.6260, 23.4519)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2086 #209A34
analogous
#71209A #9A2086 #9A2049
triadic
#9A2086 #869A20 #20869A
tetradic
#9A2086 #9A7120 #209A34 #20499A
square
#9A2086 #9A7120 #209A34 #20499A
split-complementary
#9A2086 #499A20 #209A71
monochromatic
#350B2E #67155A #9A2086 #CD2BB2 #DC58C7

Accessibility & contrast

On white

7.18
#9A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2086
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2086#FFFFFF#000000##FFFFFF
##9A20861.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4E5E83
Tritanopia (blue-blind)
#A22A52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2086;
/* rgb */ color: rgb(154, 32, 134);
/* oklch */ color: oklch(48.3% 0.189 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9a2086',
    950: '#000000',
  },
}
SCSS
$custom: #9a2086;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2086",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 309.836,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.18883,
    "h": 335.9
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#9A2086
secondary
#56C067
accent
#E95B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2086

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

Preview Lab → · Contrast checker → · Palette generator →

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