#9525B4#9525B4

#9525B4 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.218 H 317.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9525B4
RGBrgb(149, 37, 180)
HSLhsl(287, 66%, 43%)
HSVhsv(287, 79%, 71%)
CMYKcmyk(17.2%, 79.4%, 0%, 29.4%)
CIE-LABlab(39.60, 64.04, -52.20)
CIE-LCHlch(39.60, 82.62, 320.81°)
OKLaboklab(50.79% 0.1605 -0.147)
OKLCHoklch(50.79% 0.218 317.5)
XYZxyz(21.2930, 11.0089, 44.1745)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525B4 #44B425
analogous
#4D25B4 #9525B4 #B4258C
triadic
#9525B4 #B49525 #25B495
tetradic
#9525B4 #B44D25 #44B425 #258CB4
square
#9525B4 #B44D25 #44B425 #258CB4
split-complementary
#9525B4 #8CB425 #25B44D
monochromatic
#41104E #6B1B81 #9525B4 #B63FD7 #CA71E2

Accessibility & contrast

On white

6.56
#9525B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9525B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525B4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525B4#FFFFFF#000000##FFFFFF
##9525B41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#94466D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9525b4;
/* rgb */ color: rgb(149, 37, 180);
/* oklch */ color: oklch(50.8% 0.218 317.5);
Tailwind
colors: {
  custom: {
    50: '#b96ecb',
    500: '#9525b4',
    950: '#000000',
  },
}
SCSS
$custom: #9525b4;
$custom-light: #b96ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#9525b4",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 286.993,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.21763,
    "h": 317.5
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#9525B4
secondary
#80C96C
accent
#E93F64
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9525B4

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

Preview Lab → · Contrast checker → · Palette generator →

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