#9138AE#9138AE

#9138AE is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.190 H 316.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9138AE
RGBrgb(145, 56, 174)
HSLhsl(285, 51%, 45%)
HSVhsv(285, 68%, 68%)
CMYKcmyk(16.7%, 67.8%, 0%, 31.8%)
CIE-LABlab(41.06, 55.00, -46.32)
CIE-LCHlch(41.06, 71.91, 319.90°)
OKLaboklab(51.59% 0.138 -0.13)
OKLCHoklch(51.59% 0.19 316.7)
XYZxyz(20.7301, 11.9049, 41.2421)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138AE #55AE38
analogous
#5638AE #9138AE #AE3890
triadic
#9138AE #AE9138 #38AE91
tetradic
#9138AE #AE5638 #55AE38 #3890AE
square
#9138AE #AE5638 #55AE38 #3890AE
split-complementary
#9138AE #90AE38 #38AE56
monochromatic
#441A51 #6A2980 #9138AE #AE59CA #C588D9

Accessibility & contrast

On white

6.21
#9138AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9138AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138AE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138AE#FFFFFF#000000##FFFFFF
##9138AE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#904E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9138ae;
/* rgb */ color: rgb(145, 56, 174);
/* oklch */ color: oklch(51.6% 0.190 316.7);
Tailwind
colors: {
  custom: {
    50: '#b576c7',
    500: '#9138ae',
    950: '#000000',
  },
}
SCSS
$custom: #9138ae;
$custom-light: #b576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9138ae",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 285.254,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.18962,
    "h": 316.7
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#9138AE
secondary
#90C37F
accent
#DB4D70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9138AE

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

Preview Lab → · Contrast checker → · Palette generator →

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