#9538BD#9538BD

#9538BD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.205 H 313.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9538BD
RGBrgb(149, 56, 189)
HSLhsl(282, 54%, 48%)
HSVhsv(282, 70%, 74%)
CMYKcmyk(21.2%, 70.4%, 0%, 25.9%)
CIE-LABlab(42.60, 58.95, -52.66)
CIE-LCHlch(42.60, 79.04, 318.23°)
OKLaboklab(53.12% 0.1419 -0.1485)
OKLCHoklch(53.12% 0.205 313.7)
XYZxyz(22.9923, 12.8928, 49.4116)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538BD #60BD38
analogous
#5238BD #9538BD #BD38A2
triadic
#9538BD #BD9538 #38BD95
tetradic
#9538BD #BD5238 #60BD38 #38A2BD
square
#9538BD #BD5238 #60BD38 #38A2BD
split-complementary
#9538BD #A2BD38 #38BD52
monochromatic
#4B1C5F #702A8E #9538BD #AF62D0 #C791DE

Accessibility & contrast

On white

5.87
#9538BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9538BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9538BD#FFFFFF#000000##FFFFFF
##9538BD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#915477
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9538bd;
/* rgb */ color: rgb(149, 56, 189);
/* oklch */ color: oklch(53.1% 0.205 313.7);
Tailwind
colors: {
  custom: {
    50: '#b877d2',
    500: '#9538bd',
    950: '#000000',
  },
}
SCSS
$custom: #9538bd;
$custom-light: #b877d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9538bd",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 281.955,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.20537,
    "h": 313.7
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#9538BD
secondary
#9BC987
accent
#DE4A77
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9538BD

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

Preview Lab → · Contrast checker → · Palette generator →

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