#9538AC#9538AC

#9538AC is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.189 H 319.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9538AC
RGBrgb(149, 56, 172)
HSLhsl(288, 51%, 45%)
HSVhsv(288, 67%, 67%)
CMYKcmyk(13.4%, 67.4%, 0%, 32.5%)
CIE-LABlab(41.53, 55.52, -44.36)
CIE-LCHlch(41.53, 71.06, 321.38°)
OKLaboklab(52.01% 0.143 -0.1242)
OKLCHoklch(52.01% 0.189 319)
XYZxyz(21.2540, 12.1974, 40.2565)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538AC #4FAC38
analogous
#5B38AC #9538AC #AC3889
triadic
#9538AC #AC9538 #38AC95
tetradic
#9538AC #AC5B38 #4FAC38 #3889AC
square
#9538AC #AC5B38 #4FAC38 #3889AC
split-complementary
#9538AC #89AC38 #38AC5B
monochromatic
#451A50 #6D297E #9538AC #B258C9 #C887D8

Accessibility & contrast

On white

6.11
#9538AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9538AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9538AC#FFFFFF#000000##FFFFFF
##9538AC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#954D6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9538ac;
/* rgb */ color: rgb(149, 56, 172);
/* oklch */ color: oklch(52.0% 0.189 319.0);
Tailwind
colors: {
  custom: {
    50: '#b776c5',
    500: '#9538ac',
    950: '#000000',
  },
}
SCSS
$custom: #9538ac;
$custom-light: #b776c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9538ac",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 288.103,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.18942,
    "h": 319
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#9538AC
secondary
#8BC27E
accent
#DA4D69
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9538AC

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

Preview Lab → · Contrast checker → · Palette generator →

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