#9538AA#9538AA

#9538AA is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.188 H 319.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9538AA
RGBrgb(149, 56, 170)
HSLhsl(289, 50%, 44%)
HSVhsv(289, 67%, 67%)
CMYKcmyk(12.4%, 67.1%, 0%, 33.3%)
CIE-LABlab(41.41, 55.13, -43.36)
CIE-LCHlch(41.41, 70.14, 321.81°)
OKLaboklab(51.88% 0.1431 -0.1213)
OKLCHoklch(51.88% 0.188 319.7)
XYZxyz(21.0634, 12.1212, 39.2525)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538AA #4DAA38
analogous
#5C38AA #9538AA #AA3886
triadic
#9538AA #AA9538 #38AA95
tetradic
#9538AA #AA5C38 #4DAA38 #3886AA
square
#9538AA #AA5C38 #4DAA38 #3886AA
split-complementary
#9538AA #86AA38 #38AA5C
monochromatic
#441A4E #6D297C #9538AA #B357C8 #C885D7

Accessibility & contrast

On white

6.13
#9538AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9538AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538AA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538AA#FFFFFF#000000##FFFFFF
##9538AA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#954C6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9538aa;
/* rgb */ color: rgb(149, 56, 170);
/* oklch */ color: oklch(51.9% 0.188 319.7);
Tailwind
colors: {
  custom: {
    50: '#b776c4',
    500: '#9538aa',
    950: '#000000',
  },
}
SCSS
$custom: #9538aa;
$custom-light: #b776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9538aa",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 288.947,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.18756,
    "h": 319.7
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#9538AA
secondary
#89C17D
accent
#DA4E68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9538AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9538AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva