#9526BA#9526BA

#9526BA is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.222 H 315.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9526BA
RGBrgb(149, 38, 186)
HSLhsl(285, 66%, 44%)
HSVhsv(285, 80%, 73%)
CMYKcmyk(19.9%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.12, 64.87, -54.90)
CIE-LCHlch(40.12, 84.99, 319.76°)
OKLaboklab(51.29% 0.1587 -0.155)
OKLCHoklch(51.29% 0.222 315.7)
XYZxyz(21.9490, 11.3218, 47.4740)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526BA #4BBA26
analogous
#4B26BA #9526BA #BA2695
triadic
#9526BA #BA9526 #26BA95
tetradic
#9526BA #BA4B26 #4BBA26 #2695BA
square
#9526BA #BA4B26 #4BBA26 #2695BA
split-complementary
#9526BA #95BA26 #26BA4B
monochromatic
#441154 #6C1C87 #9526BA #B444D9 #C877E3

Accessibility & contrast

On white

6.43
#9526BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9526BA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526BA#FFFFFF#000000##FFFFFF
##9526BA1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#2161B7
Tritanopia (blue-blind)
#924971
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9526ba;
/* rgb */ color: rgb(149, 38, 186);
/* oklch */ color: oklch(51.3% 0.222 315.7);
Tailwind
colors: {
  custom: {
    50: '#b96ed0',
    500: '#9526ba',
    950: '#000000',
  },
}
SCSS
$custom: #9526ba;
$custom-light: #b96ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9526ba",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.22178,
    "h": 315.7
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#9526BA
secondary
#87CB71
accent
#E93F69
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9526BA

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

Preview Lab → · Contrast checker → · Palette generator →

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