#9526B1#9526B1

#9526B1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.214 H 318.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9526B1
RGBrgb(149, 38, 177)
HSLhsl(288, 65%, 42%)
HSVhsv(288, 79%, 69%)
CMYKcmyk(15.8%, 78.5%, 0%, 30.6%)
CIE-LABlab(39.50, 63.16, -50.58)
CIE-LCHlch(39.50, 80.92, 321.31°)
OKLaboklab(50.66% 0.1601 -0.1423)
OKLCHoklch(50.66% 0.214 318.4)
XYZxyz(21.0223, 10.9511, 42.5929)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526B1 #42B126
analogous
#5026B1 #9526B1 #B12687
triadic
#9526B1 #B19526 #26B195
tetradic
#9526B1 #B15026 #42B126 #2687B1
square
#9526B1 #B15026 #42B126 #2687B1
split-complementary
#9526B1 #87B126 #26B150
monochromatic
#40104C #6B1B7F #9526B1 #B73FD6 #CA71E0

Accessibility & contrast

On white

6.58
#9526B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9526B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526B1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526B1#FFFFFF#000000##FFFFFF
##9526B11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#2E60AE
Tritanopia (blue-blind)
#94456B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9526b1;
/* rgb */ color: rgb(149, 38, 177);
/* oklch */ color: oklch(50.7% 0.214 318.4);
Tailwind
colors: {
  custom: {
    50: '#b86ec9',
    500: '#9526b1',
    950: '#000000',
  },
}
SCSS
$custom: #9526b1;
$custom-light: #b86ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9526b1",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 287.914,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.2142,
    "h": 318.4
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#9526B1
secondary
#7EC76B
accent
#E84062
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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