#9525B9#9525B9

#9525B9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.222 H 316.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9525B9
RGBrgb(149, 37, 185)
HSLhsl(285, 67%, 44%)
HSVhsv(285, 80%, 73%)
CMYKcmyk(19.5%, 80%, 0%, 27.5%)
CIE-LABlab(39.94, 64.98, -54.60)
CIE-LCHlch(39.94, 84.87, 319.96°)
OKLaboklab(51.15% 0.1596 -0.154)
OKLCHoklch(51.15% 0.222 316)
XYZxyz(21.8116, 11.2164, 46.9056)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525B9 #49B925
analogous
#4B25B9 #9525B9 #B92593
triadic
#9525B9 #B99525 #25B995
tetradic
#9525B9 #B94B25 #49B925 #2593B9
square
#9525B9 #B94B25 #49B925 #2593B9
split-complementary
#9525B9 #93B925 #25B94B
monochromatic
#431153 #6C1B86 #9525B9 #B442D9 #C975E3

Accessibility & contrast

On white

6.48
#9525B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9525B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525B9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525B9#FFFFFF#000000##FFFFFF
##9525B91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9525b9;
/* rgb */ color: rgb(149, 37, 185);
/* oklch */ color: oklch(51.1% 0.222 316.0);
Tailwind
colors: {
  custom: {
    50: '#b96ecf',
    500: '#9525b9',
    950: '#000000',
  },
}
SCSS
$custom: #9525b9;
$custom-light: #b96ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9525b9",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 285.405,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.22182,
    "h": 316
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9525B9
secondary
#85CB6F
accent
#EA3E68
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9525B9

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

Preview Lab → · Contrast checker → · Palette generator →

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