#9A138A#9A138A

#9A138A is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.202 H 334.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9A138A
RGBrgb(154, 19, 138)
HSLhsl(307, 78%, 34%)
HSVhsv(307, 88%, 60%)
CMYKcmyk(0%, 87.7%, 10.4%, 39.6%)
CIE-LABlab(36.31, 62.42, -32.03)
CIE-LCHlch(36.31, 70.16, 332.83°)
OKLaboklab(47.8% 0.1817 -0.088)
OKLCHoklch(47.8% 0.202 334.2)
XYZxyz(18.1470, 9.1724, 24.8546)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A138A #139A23
analogous
#67139A #9A138A #9A1347
triadic
#9A138A #8A9A13 #138A9A
tetradic
#9A138A #9A6713 #139A23 #13479A
square
#9A138A #9A6713 #139A23 #13479A
split-complementary
#9A138A #479A13 #139A67
monochromatic
#2D0628 #640C59 #9A138A #D01ABB #E740D4

Accessibility & contrast

On white

7.41
#9A138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9A138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A138A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A138A#FFFFFF#000000##FFFFFF
##9A138A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#A22551
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a138a;
/* rgb */ color: rgb(154, 19, 138);
/* oklch */ color: oklch(47.8% 0.202 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc67ac',
    500: '#9a138a',
    950: '#000000',
  },
}
SCSS
$custom: #9a138a;
$custom-light: #bc67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a138a",
  "rgb": {
    "r": 154,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 307.111,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.20186,
    "h": 334.2
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#9A138A
secondary
#41C751
accent
#F54A33
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A138A

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

Preview Lab → · Contrast checker → · Palette generator →

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