#9526B9#9526B9

#9526B9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.221 H 316.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9526B9
RGBrgb(149, 38, 185)
HSLhsl(285, 66%, 44%)
HSVhsv(285, 79%, 73%)
CMYKcmyk(19.5%, 79.5%, 0%, 27.5%)
CIE-LABlab(40.05, 64.68, -54.43)
CIE-LCHlch(40.05, 84.53, 319.92°)
OKLaboklab(51.22% 0.1588 -0.1536)
OKLCHoklch(51.22% 0.221 316)
XYZxyz(21.8431, 11.2795, 46.9161)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526B9 #4AB926
analogous
#4B26B9 #9526B9 #B92693
triadic
#9526B9 #B99526 #26B995
tetradic
#9526B9 #B94B26 #4AB926 #2693B9
square
#9526B9 #B94B26 #4AB926 #2693B9
split-complementary
#9526B9 #93B926 #26B94B
monochromatic
#431153 #6C1C86 #9526B9 #B444D9 #C876E3

Accessibility & contrast

On white

6.45
#9526B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9526B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526B9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526B9#FFFFFF#000000##FFFFFF
##9526B91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#2361B6
Tritanopia (blue-blind)
#924970
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9526b9;
/* rgb */ color: rgb(149, 38, 185);
/* oklch */ color: oklch(51.2% 0.221 316.0);
Tailwind
colors: {
  custom: {
    50: '#b96ecf',
    500: '#9526b9',
    950: '#000000',
  },
}
SCSS
$custom: #9526b9;
$custom-light: #b96ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9526b9",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 285.306,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.22092,
    "h": 316
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#9526B9
secondary
#86CA70
accent
#E93F69
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9526B9

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

Preview Lab → · Contrast checker → · Palette generator →

#9526B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva