#9A138E#9A138E

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

Color values

HEX#9A138E
RGBrgb(154, 19, 142)
HSLhsl(305, 78%, 34%)
HSVhsv(305, 88%, 60%)
CMYKcmyk(0%, 87.7%, 7.8%, 39.6%)
CIE-LABlab(36.54, 63.01, -34.14)
CIE-LCHlch(36.54, 71.66, 331.55°)
OKLaboklab(48.03% 0.1817 -0.0941)
OKLCHoklch(48.03% 0.205 332.6)
XYZxyz(18.4419, 9.2904, 26.4079)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A138E #139A1F
analogous
#63139A #9A138E #9A134B
triadic
#9A138E #8E9A13 #138E9A
tetradic
#9A138E #9A6313 #139A1F #134B9A
square
#9A138E #9A6313 #139A1F #134B9A
split-complementary
#9A138E #4B9A13 #139A63
monochromatic
#2D062A #640C5C #9A138E #D01AC0 #E740D9

Accessibility & contrast

On white

7.35
#9A138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A138E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A138E#FFFFFF#000000##FFFFFF
##9A138E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#A12754
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a138e;
/* rgb */ color: rgb(154, 19, 142);
/* oklch */ color: oklch(48.0% 0.205 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc67af',
    500: '#9a138e',
    950: '#000000',
  },
}
SCSS
$custom: #9a138e;
$custom-light: #bc67af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a138e",
  "rgb": {
    "r": 154,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 305.333,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.20459,
    "h": 332.6
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#9A138E
secondary
#41C74D
accent
#F54433
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A138E

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

Preview Lab → · Contrast checker → · Palette generator →

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