#9A138D#9A138D

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

Color values

HEX#9A138D
RGBrgb(154, 19, 141)
HSLhsl(306, 78%, 34%)
HSVhsv(306, 88%, 60%)
CMYKcmyk(0%, 87.7%, 8.4%, 39.6%)
CIE-LABlab(36.48, 62.86, -33.62)
CIE-LCHlch(36.48, 71.28, 331.86°)
OKLaboklab(47.98% 0.1817 -0.0925)
OKLCHoklch(47.98% 0.204 333)
XYZxyz(18.3672, 9.2605, 26.0143)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A138D #139A20
analogous
#64139A #9A138D #9A134A
triadic
#9A138D #8D9A13 #138D9A
tetradic
#9A138D #9A6413 #139A20 #134A9A
square
#9A138D #9A6413 #139A20 #134A9A
split-complementary
#9A138D #4A9A13 #139A64
monochromatic
#2D0629 #640C5B #9A138D #D01ABF #E740D7

Accessibility & contrast

On white

7.36
#9A138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9A138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A138D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A138D#FFFFFF#000000##FFFFFF
##9A138D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#A12753
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a138d;
/* rgb */ color: rgb(154, 19, 141);
/* oklch */ color: oklch(48.0% 0.204 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc67af',
    500: '#9a138d',
    950: '#000000',
  },
}
SCSS
$custom: #9a138d;
$custom-light: #bc67af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a138d",
  "rgb": {
    "r": 154,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 305.778,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.20391,
    "h": 333
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#9A138D
secondary
#41C74E
accent
#F54633
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A138D

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

Preview Lab → · Contrast checker → · Palette generator →

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