#9525B0#9525B0

#9525B0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.214 H 318.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9525B0
RGBrgb(149, 37, 176)
HSLhsl(288, 65%, 42%)
HSVhsv(288, 79%, 69%)
CMYKcmyk(15.3%, 79%, 0%, 31%)
CIE-LABlab(39.32, 63.28, -50.27)
CIE-LCHlch(39.32, 80.82, 321.54°)
OKLaboklab(50.52% 0.1611 -0.1414)
OKLCHoklch(50.52% 0.214 318.7)
XYZxyz(20.8914, 10.8483, 42.0594)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525B0 #40B025
analogous
#4F25B0 #9525B0 #B02586
triadic
#9525B0 #B09525 #25B095
tetradic
#9525B0 #B04F25 #40B025 #2586B0
square
#9525B0 #B04F25 #40B025 #2586B0
split-complementary
#9525B0 #86B025 #25B04F
monochromatic
#3F104B #6A1A7D #9525B0 #B83CD6 #CB6FE1

Accessibility & contrast

On white

6.63
#9525B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9525B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525B0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525B0#FFFFFF#000000##FFFFFF
##9525B01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9525b0;
/* rgb */ color: rgb(149, 37, 176);
/* oklch */ color: oklch(50.5% 0.214 318.7);
Tailwind
colors: {
  custom: {
    50: '#b86dc8',
    500: '#9525b0',
    950: '#000000',
  },
}
SCSS
$custom: #9525b0;
$custom-light: #b86dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9525b0",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 288.345,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.21429,
    "h": 318.7
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#9525B0
secondary
#7CC76A
accent
#E84060
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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