#9138BD#9138BD

#9138BD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.204 H 312.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9138BD
RGBrgb(145, 56, 189)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(23.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(42.04, 58.12, -53.60)
CIE-LCHlch(42.04, 79.06, 317.32°)
OKLaboklab(52.6% 0.1368 -0.1514)
OKLCHoklch(52.6% 0.204 312.1)
XYZxyz(22.2749, 12.5228, 49.3780)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138BD #64BD38
analogous
#4E38BD #9138BD #BD38A7
triadic
#9138BD #BD9138 #38BD91
tetradic
#9138BD #BD4E38 #64BD38 #38A7BD
square
#9138BD #BD4E38 #64BD38 #38A7BD
split-complementary
#9138BD #A7BD38 #38BD4E
monochromatic
#491C5F #6D2A8E #9138BD #AC62D0 #C591DE

Accessibility & contrast

On white

5.99
#9138BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9138BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138BD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138BD#FFFFFF#000000##FFFFFF
##9138BD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#8C5477
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9138bd;
/* rgb */ color: rgb(145, 56, 189);
/* oklch */ color: oklch(52.6% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#b576d2',
    500: '#9138bd',
    950: '#000000',
  },
}
SCSS
$custom: #9138bd;
$custom-light: #b576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9138bd",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 280.15,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.20401,
    "h": 312.1
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#9138BD
secondary
#9DC987
accent
#DE4A7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9138BD

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

Preview Lab → · Contrast checker → · Palette generator →

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