#9138AC#9138AC

#9138AC is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.188 H 317.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9138AC
RGBrgb(145, 56, 172)
HSLhsl(286, 51%, 45%)
HSVhsv(286, 67%, 67%)
CMYKcmyk(15.7%, 67.4%, 0%, 32.5%)
CIE-LABlab(40.94, 54.60, -45.33)
CIE-LCHlch(40.94, 70.96, 320.30°)
OKLaboklab(51.46% 0.1381 -0.1271)
OKLCHoklch(51.46% 0.188 317.4)
XYZxyz(20.5365, 11.8275, 40.2229)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9138AC #53AC38
analogous
#5738AC #9138AC #AC388D
triadic
#9138AC #AC9138 #38AC91
tetradic
#9138AC #AC5738 #53AC38 #388DAC
square
#9138AC #AC5738 #53AC38 #388DAC
split-complementary
#9138AC #8DAC38 #38AC57
monochromatic
#431A50 #6A297E #9138AC #AF58C9 #C587D8

Accessibility & contrast

On white

6.24
#9138AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9138AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9138AC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9138AC#FFFFFF#000000##FFFFFF
##9138AC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#904E6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9138ac;
/* rgb */ color: rgb(145, 56, 172);
/* oklch */ color: oklch(51.5% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#b576c5',
    500: '#9138ac',
    950: '#000000',
  },
}
SCSS
$custom: #9138ac;
$custom-light: #b576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9138ac",
  "rgb": {
    "r": 145,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 286.034,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.18772,
    "h": 317.4
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#9138AC
secondary
#8EC27E
accent
#DA4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9138AC

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

Preview Lab → · Contrast checker → · Palette generator →

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