#9538BC#9538BC

#9538BC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.204 H 314.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9538BC
RGBrgb(149, 56, 188)
HSLhsl(282, 54%, 48%)
HSVhsv(282, 70%, 74%)
CMYKcmyk(20.7%, 70.2%, 0%, 26.3%)
CIE-LABlab(42.54, 58.75, -52.18)
CIE-LCHlch(42.54, 78.57, 318.39°)
OKLaboklab(53.05% 0.142 -0.1471)
OKLCHoklch(53.05% 0.204 314)
XYZxyz(22.8842, 12.8495, 48.8419)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538BC #5FBC38
analogous
#5338BC #9538BC #BC38A1
triadic
#9538BC #BC9538 #38BC95
tetradic
#9538BC #BC5338 #5FBC38 #38A1BC
square
#9538BC #BC5338 #5FBC38 #38A1BC
split-complementary
#9538BC #A1BC38 #38BC53
monochromatic
#4A1C5E #702A8D #9538BC #AF61D0 #C790DE

Accessibility & contrast

On white

5.88
#9538BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9538BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9538BC#FFFFFF#000000##FFFFFF
##9538BC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#915376
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9538bc;
/* rgb */ color: rgb(149, 56, 188);
/* oklch */ color: oklch(53.0% 0.204 314.0);
Tailwind
colors: {
  custom: {
    50: '#b877d1',
    500: '#9538bc',
    950: '#000000',
  },
}
SCSS
$custom: #9538bc;
$custom-light: #b877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9538bc",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 282.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.20443,
    "h": 314
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#9538BC
secondary
#9AC987
accent
#DD4A76
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9538BC

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

Preview Lab → · Contrast checker → · Palette generator →

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