#9538AE#9538AE

#9538AE is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 318.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9538AE
RGBrgb(149, 56, 174)
HSLhsl(287, 51%, 45%)
HSVhsv(287, 68%, 68%)
CMYKcmyk(14.4%, 67.8%, 0%, 31.8%)
CIE-LABlab(41.65, 55.91, -45.35)
CIE-LCHlch(41.65, 71.99, 320.96°)
OKLaboklab(52.13% 0.143 -0.1271)
OKLCHoklch(52.13% 0.191 318.4)
XYZxyz(21.4475, 12.2748, 41.2757)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538AE #51AE38
analogous
#5A38AE #9538AE #AE388C
triadic
#9538AE #AE9538 #38AE95
tetradic
#9538AE #AE5A38 #51AE38 #388CAE
square
#9538AE #AE5A38 #51AE38 #388CAE
split-complementary
#9538AE #8CAE38 #38AE5A
monochromatic
#461A51 #6D2980 #9538AE #B259CA #C788D9

Accessibility & contrast

On white

6.08
#9538AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9538AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9538AE#FFFFFF#000000##FFFFFF
##9538AE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB1
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#954E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9538ae;
/* rgb */ color: rgb(149, 56, 174);
/* oklch */ color: oklch(52.1% 0.191 318.4);
Tailwind
colors: {
  custom: {
    50: '#b876c7',
    500: '#9538ae',
    950: '#000000',
  },
}
SCSS
$custom: #9538ae;
$custom-light: #b876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9538ae",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 287.288,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.19128,
    "h": 318.4
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#9538AE
secondary
#8DC37F
accent
#DB4D6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9538AE

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

Preview Lab → · Contrast checker → · Palette generator →

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