#9526AB#9526AB

#9526AB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.209 H 320.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9526AB
RGBrgb(149, 38, 171)
HSLhsl(290, 64%, 41%)
HSVhsv(290, 78%, 67%)
CMYKcmyk(12.9%, 77.8%, 0%, 32.9%)
CIE-LABlab(39.10, 62.05, -47.66)
CIE-LCHlch(39.10, 78.24, 322.47°)
OKLaboklab(50.25% 0.1609 -0.1337)
OKLCHoklch(50.25% 0.209 320.3)
XYZxyz(20.4373, 10.7171, 39.5123)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526AB #3CAB26
analogous
#5226AB #9526AB #AB267E
triadic
#9526AB #AB9526 #26AB95
tetradic
#9526AB #AB5226 #3CAB26 #267EAB
square
#9526AB #AB5226 #3CAB26 #267EAB
split-complementary
#9526AB #7EAB26 #26AB52
monochromatic
#3E1047 #691B79 #9526AB #BA3BD3 #CC6DDF

Accessibility & contrast

On white

6.68
#9526AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9526AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526AB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526AB#FFFFFF#000000##FFFFFF
##9526AB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#964268
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9526ab;
/* rgb */ color: rgb(149, 38, 171);
/* oklch */ color: oklch(50.3% 0.209 320.3);
Tailwind
colors: {
  custom: {
    50: '#b86ec5',
    500: '#9526ab',
    950: '#000000',
  },
}
SCSS
$custom: #9526ab;
$custom-light: #b86ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9526ab",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 290.075,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.20918,
    "h": 320.3
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#9526AB
secondary
#77C568
accent
#E7415D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9526AB

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

Preview Lab → · Contrast checker → · Palette generator →

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