#9525B2#9525B2

#9525B2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.216 H 318.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9525B2
RGBrgb(149, 37, 178)
HSLhsl(288, 66%, 42%)
HSVhsv(288, 79%, 70%)
CMYKcmyk(16.3%, 79.2%, 0%, 30.2%)
CIE-LABlab(39.46, 63.66, -51.24)
CIE-LCHlch(39.46, 81.72, 321.17°)
OKLaboklab(50.65% 0.1608 -0.1442)
OKLCHoklch(50.65% 0.216 318.1)
XYZxyz(21.0907, 10.9280, 43.1092)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525B2 #42B225
analogous
#4F25B2 #9525B2 #B22588
triadic
#9525B2 #B29525 #25B295
tetradic
#9525B2 #B24F25 #42B225 #2588B2
square
#9525B2 #B24F25 #42B225 #2588B2
split-complementary
#9525B2 #88B225 #25B24F
monochromatic
#40104D #6B1A7F #9525B2 #B73DD7 #CA70E1

Accessibility & contrast

On white

6.59
#9525B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9525B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525B2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525B2#FFFFFF#000000##FFFFFF
##9525B21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#2C60AF
Tritanopia (blue-blind)
#94456C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9525b2;
/* rgb */ color: rgb(149, 37, 178);
/* oklch */ color: oklch(50.7% 0.216 318.1);
Tailwind
colors: {
  custom: {
    50: '#b86eca',
    500: '#9525b2',
    950: '#000000',
  },
}
SCSS
$custom: #9525b2;
$custom-light: #b86eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9525b2",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 287.66,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.21596,
    "h": 318.1
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#9525B2
secondary
#7EC86B
accent
#E93F62
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9525B2

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

Preview Lab → · Contrast checker → · Palette generator →

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