#9526B0#9526B0

#9526B0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.213 H 318.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9526B0
RGBrgb(149, 38, 176)
HSLhsl(288, 64%, 42%)
HSVhsv(288, 78%, 69%)
CMYKcmyk(15.3%, 78.4%, 0%, 31%)
CIE-LABlab(39.43, 62.97, -50.10)
CIE-LCHlch(39.43, 80.47, 321.50°)
OKLaboklab(50.59% 0.1603 -0.1409)
OKLCHoklch(50.59% 0.213 318.7)
XYZxyz(20.9229, 10.9114, 42.0699)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526B0 #41B026
analogous
#5026B0 #9526B0 #B02686
triadic
#9526B0 #B09526 #26B095
tetradic
#9526B0 #B05026 #41B026 #2686B0
square
#9526B0 #B05026 #41B026 #2686B0
split-complementary
#9526B0 #86B026 #26B050
monochromatic
#40104B #6A1B7E #9526B0 #B83ED5 #CA70E0

Accessibility & contrast

On white

6.60
#9526B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9526B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526B0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526B0#FFFFFF#000000##FFFFFF
##9526B01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#94446B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9526b0;
/* rgb */ color: rgb(149, 38, 176);
/* oklch */ color: oklch(50.6% 0.213 318.7);
Tailwind
colors: {
  custom: {
    50: '#b86ec8',
    500: '#9526b0',
    950: '#000000',
  },
}
SCSS
$custom: #9526b0;
$custom-light: #b86ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9526b0",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 288.261,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.21336,
    "h": 318.7
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#9526B0
secondary
#7DC76B
accent
#E74061
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9526B0

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

Preview Lab → · Contrast checker → · Palette generator →

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