#9138B8#9138B8

#9138B8 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 313.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9138B8
RGBrgb(145, 56, 184)
HSLhsl(282, 53%, 47%)
HSVhsv(282, 70%, 72%)
CMYKcmyk(21.2%, 69.6%, 0%, 27.8%)
CIE-LABlab(41.70, 57.06, -51.20)
CIE-LCHlch(41.70, 76.67, 318.10°)
OKLaboklab(52.25% 0.1373 -0.1443)
OKLCHoklch(52.25% 0.199 313.6)
XYZxyz(21.7415, 12.3095, 46.5688)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138B8 #5FB838
analogous
#5138B8 #9138B8 #B8389F
triadic
#9138B8 #B89138 #38B891
tetradic
#9138B8 #B85138 #5FB838 #389FB8
square
#9138B8 #B85138 #5FB838 #389FB8
split-complementary
#9138B8 #9FB838 #38B851
monochromatic
#471B5A #6C2A89 #9138B8 #AC5FCE #C58EDD

Accessibility & contrast

On white

6.07
#9138B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9138B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138B8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138B8#FFFFFF#000000##FFFFFF
##9138B81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#8D5274
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9138b8;
/* rgb */ color: rgb(145, 56, 184);
/* oklch */ color: oklch(52.3% 0.199 313.6);
Tailwind
colors: {
  custom: {
    50: '#b576ce',
    500: '#9138b8',
    950: '#000000',
  },
}
SCSS
$custom: #9138b8;
$custom-light: #b576ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9138b8",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 281.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.19919,
    "h": 313.6
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#9138B8
secondary
#99C785
accent
#DD4B77
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9138B8

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

Preview Lab → · Contrast checker → · Palette generator →

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