#9138AD#9138AD

#9138AD is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.189 H 317.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9138AD
RGBrgb(145, 56, 173)
HSLhsl(286, 51%, 45%)
HSVhsv(286, 68%, 68%)
CMYKcmyk(16.2%, 67.6%, 0%, 32.2%)
CIE-LABlab(41.00, 54.80, -45.83)
CIE-LCHlch(41.00, 71.44, 320.10°)
OKLaboklab(51.53% 0.1381 -0.1286)
OKLCHoklch(51.53% 0.189 317)
XYZxyz(20.6329, 11.8660, 40.7306)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138AD #54AD38
analogous
#5638AD #9138AD #AD388F
triadic
#9138AD #AD9138 #38AD91
tetradic
#9138AD #AD5638 #54AD38 #388FAD
square
#9138AD #AD5638 #54AD38 #388FAD
split-complementary
#9138AD #8FAD38 #38AD56
monochromatic
#431A51 #6A297F #9138AD #AE59C9 #C587D8

Accessibility & contrast

On white

6.23
#9138AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9138AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138AD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138AD#FFFFFF#000000##FFFFFF
##9138AD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#904E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9138ad;
/* rgb */ color: rgb(145, 56, 173);
/* oklch */ color: oklch(51.5% 0.189 317.0);
Tailwind
colors: {
  custom: {
    50: '#b576c6',
    500: '#9138ad',
    950: '#000000',
  },
}
SCSS
$custom: #9138ad;
$custom-light: #b576c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9138ad",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 285.641,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.18867,
    "h": 317
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#9138AD
secondary
#8FC27F
accent
#DB4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9138AD

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

Preview Lab → · Contrast checker → · Palette generator →

#9138AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva