#9A138B#9A138B

#9A138B is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.203 H 333.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9A138B
RGBrgb(154, 19, 139)
HSLhsl(307, 78%, 34%)
HSVhsv(307, 88%, 60%)
CMYKcmyk(0%, 87.7%, 9.7%, 39.6%)
CIE-LABlab(36.37, 62.57, -32.56)
CIE-LCHlch(36.37, 70.53, 332.50°)
OKLaboklab(47.86% 0.1817 -0.0895)
OKLCHoklch(47.86% 0.203 333.8)
XYZxyz(18.2197, 9.2015, 25.2376)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A138B #139A22
analogous
#66139A #9A138B #9A1348
triadic
#9A138B #8B9A13 #138B9A
tetradic
#9A138B #9A6613 #139A22 #13489A
square
#9A138B #9A6613 #139A22 #13489A
split-complementary
#9A138B #489A13 #139A66
monochromatic
#2D0629 #640C5A #9A138B #D01ABC #E740D5

Accessibility & contrast

On white

7.39
#9A138B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A138B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A138B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A138B#FFFFFF#000000##FFFFFF
##9A138B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#A22552
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a138b;
/* rgb */ color: rgb(154, 19, 139);
/* oklch */ color: oklch(47.9% 0.203 333.8);
Tailwind
colors: {
  custom: {
    50: '#bc67ad',
    500: '#9a138b',
    950: '#000000',
  },
}
SCSS
$custom: #9a138b;
$custom-light: #bc67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a138b",
  "rgb": {
    "r": 154,
    "g": 19,
    "b": 139
  },
  "hsl": {
    "h": 306.667,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47861,
    "c": 0.20253,
    "h": 333.8
  },
  "luminance": 0.092
}

Semantic roles & 50–950 ramp

primary
#9A138B
secondary
#41C750
accent
#F54933
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A138B

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

Preview Lab → · Contrast checker → · Palette generator →

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