#9138BC#9138BC

#9138BC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.5% C 0.203 H 312.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9138BC
RGBrgb(145, 56, 188)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(22.9%, 70.2%, 0%, 26.3%)
CIE-LABlab(41.97, 57.91, -53.12)
CIE-LCHlch(41.97, 78.58, 317.47°)
OKLaboklab(52.53% 0.1369 -0.15)
OKLCHoklch(52.53% 0.203 312.4)
XYZxyz(22.1667, 12.4795, 48.8083)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138BC #63BC38
analogous
#4F38BC #9138BC #BC38A5
triadic
#9138BC #BC9138 #38BC91
tetradic
#9138BC #BC4F38 #63BC38 #38A5BC
square
#9138BC #BC4F38 #63BC38 #38A5BC
split-complementary
#9138BC #A5BC38 #38BC4F
monochromatic
#481C5E #6D2A8D #9138BC #AC61D0 #C590DE

Accessibility & contrast

On white

6.01
#9138BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9138BC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138BC#FFFFFF#000000##FFFFFF
##9138BC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9138bc;
/* rgb */ color: rgb(145, 56, 188);
/* oklch */ color: oklch(52.5% 0.203 312.4);
Tailwind
colors: {
  custom: {
    50: '#b576d1',
    500: '#9138bc',
    950: '#000000',
  },
}
SCSS
$custom: #9138bc;
$custom-light: #b576d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9138bc",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 280.455,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.20304,
    "h": 312.4
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#9138BC
secondary
#9CC987
accent
#DD4A7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9138BC

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

Preview Lab → · Contrast checker → · Palette generator →

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