#9A2186#9A2186

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

Color values

HEX#9A2186
RGBrgb(154, 33, 134)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 60%)
CMYKcmyk(0%, 78.6%, 13%, 39.6%)
CIE-LABlab(37.26, 58.47, -28.07)
CIE-LCHlch(37.26, 64.86, 334.36°)
OKLaboklab(48.41% 0.1715 -0.0766)
OKLCHoklch(48.41% 0.188 335.9)
XYZxyz(18.1737, 9.6807, 23.4611)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2186 #219A35
analogous
#72219A #9A2186 #9A214A
triadic
#9A2186 #869A21 #21869A
tetradic
#9A2186 #9A7221 #219A35 #214A9A
square
#9A2186 #9A7221 #219A35 #214A9A
split-complementary
#9A2186 #4A9A21 #219A72
monochromatic
#350B2E #68165A #9A2186 #CC2CB2 #DC5AC6

Accessibility & contrast

On white

7.15
#9A2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9A2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2186
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2186#FFFFFF#000000##FFFFFF
##9A21861.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A22B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2186;
/* rgb */ color: rgb(154, 33, 134);
/* oklch */ color: oklch(48.4% 0.188 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9a2186',
    950: '#000000',
  },
}
SCSS
$custom: #9a2186;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2186",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 309.917,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.18788,
    "h": 335.9
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#9A2186
secondary
#57C068
accent
#E85C40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A2186

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

Preview Lab → · Contrast checker → · Palette generator →

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