#9525B1#9525B1

#9525B1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.215 H 318.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9525B1
RGBrgb(149, 37, 177)
HSLhsl(288, 65%, 42%)
HSVhsv(288, 79%, 69%)
CMYKcmyk(15.8%, 79.1%, 0%, 30.6%)
CIE-LABlab(39.39, 63.47, -50.76)
CIE-LCHlch(39.39, 81.27, 321.35°)
OKLaboklab(50.59% 0.1609 -0.1428)
OKLCHoklch(50.59% 0.215 318.4)
XYZxyz(20.9907, 10.8880, 42.5824)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525B1 #41B125
analogous
#4F25B1 #9525B1 #B12587
triadic
#9525B1 #B19525 #25B195
tetradic
#9525B1 #B14F25 #41B125 #2587B1
square
#9525B1 #B14F25 #41B125 #2587B1
split-complementary
#9525B1 #87B125 #25B14F
monochromatic
#40104C #6A1A7E #9525B1 #B83DD6 #CA6FE1

Accessibility & contrast

On white

6.61
#9525B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9525B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525B1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525B1#FFFFFF#000000##FFFFFF
##9525B11.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9525b1;
/* rgb */ color: rgb(149, 37, 177);
/* oklch */ color: oklch(50.6% 0.215 318.4);
Tailwind
colors: {
  custom: {
    50: '#b86ec9',
    500: '#9525b1',
    950: '#000000',
  },
}
SCSS
$custom: #9525b1;
$custom-light: #b86ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9525b1",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 288,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.21512,
    "h": 318.4
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#9525B1
secondary
#7DC86A
accent
#E83F61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9525B1

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

Preview Lab → · Contrast checker → · Palette generator →

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