#9A138F#9A138F

#9A138F is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.205 H 332.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9A138F
RGBrgb(154, 19, 143)
HSLhsl(305, 78%, 34%)
HSVhsv(305, 88%, 60%)
CMYKcmyk(0%, 87.7%, 7.1%, 39.6%)
CIE-LABlab(36.59, 63.16, -34.67)
CIE-LCHlch(36.59, 72.05, 331.24°)
OKLaboklab(48.09% 0.1817 -0.0956)
OKLCHoklch(48.09% 0.205 332.3)
XYZxyz(18.5173, 9.3206, 26.8051)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A138F #139A1E
analogous
#62139A #9A138F #9A134C
triadic
#9A138F #8F9A13 #138F9A
tetradic
#9A138F #9A6213 #139A1E #134C9A
square
#9A138F #9A6213 #139A1E #134C9A
split-complementary
#9A138F #4C9A13 #139A62
monochromatic
#2D062A #640C5C #9A138F #D01AC2 #E740DA

Accessibility & contrast

On white

7.33
#9A138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A138F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A138F#FFFFFF#000000##FFFFFF
##9A138F1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#A12854
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a138f;
/* rgb */ color: rgb(154, 19, 143);
/* oklch */ color: oklch(48.1% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc67b0',
    500: '#9a138f',
    950: '#000000',
  },
}
SCSS
$custom: #9a138f;
$custom-light: #bc67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a138f",
  "rgb": {
    "r": 154,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 304.889,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.20528,
    "h": 332.3
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#9A138F
secondary
#41C74C
accent
#F54333
background
#FCF6FA
surface
#F8EBF5
border
#D1C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A138F

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

Preview Lab → · Contrast checker → · Palette generator →

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