#9138BB#9138BB

#9138BB is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.202 H 312.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9138BB
RGBrgb(145, 56, 187)
HSLhsl(281, 54%, 48%)
HSVhsv(281, 70%, 73%)
CMYKcmyk(22.5%, 70.1%, 0%, 26.7%)
CIE-LABlab(41.90, 57.69, -52.64)
CIE-LCHlch(41.90, 78.10, 317.62°)
OKLaboklab(52.46% 0.137 -0.1486)
OKLCHoklch(52.46% 0.202 312.7)
XYZxyz(22.0593, 12.4366, 48.2425)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138BB #62BB38
analogous
#4F38BB #9138BB #BB38A4
triadic
#9138BB #BB9138 #38BB91
tetradic
#9138BB #BB4F38 #62BB38 #38A4BB
square
#9138BB #BB4F38 #62BB38 #38A4BB
split-complementary
#9138BB #A4BB38 #38BB4F
monochromatic
#481C5D #6C2A8C #9138BB #AC61D0 #C590DE

Accessibility & contrast

On white

6.02
#9138BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9138BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138BB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138BB#FFFFFF#000000##FFFFFF
##9138BB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#8C5476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9138bb;
/* rgb */ color: rgb(145, 56, 187);
/* oklch */ color: oklch(52.5% 0.202 312.7);
Tailwind
colors: {
  custom: {
    50: '#b576d0',
    500: '#9138bb',
    950: '#000000',
  },
}
SCSS
$custom: #9138bb;
$custom-light: #b576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9138bb",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 280.763,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.20208,
    "h": 312.7
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#9138BB
secondary
#9CC886
accent
#DD4B7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9138BB

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

Preview Lab → · Contrast checker → · Palette generator →

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