#9525A9#9525A9

#9525A9 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.208 H 321.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9525A9
RGBrgb(149, 37, 169)
HSLhsl(291, 64%, 40%)
HSVhsv(291, 78%, 66%)
CMYKcmyk(11.8%, 78.1%, 0%, 33.7%)
CIE-LABlab(38.86, 61.99, -46.84)
CIE-LCHlch(38.86, 77.70, 322.92°)
OKLaboklab(50.04% 0.1619 -0.1313)
OKLCHoklch(50.04% 0.208 321)
XYZxyz(20.2166, 10.5784, 38.5054)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525A9 #39A925
analogous
#5325A9 #9525A9 #A9257B
triadic
#9525A9 #A99525 #25A995
tetradic
#9525A9 #A95325 #39A925 #257BA9
square
#9525A9 #A95325 #39A925 #257BA9
split-complementary
#9525A9 #7BA925 #25A953
monochromatic
#3C0F45 #691A77 #9525A9 #BC38D3 #CD6ADE

Accessibility & contrast

On white

6.74
#9525A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9525A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525A9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525A9#FFFFFF#000000##FFFFFF
##9525A91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#964167
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9525a9;
/* rgb */ color: rgb(149, 37, 169);
/* oklch */ color: oklch(50.0% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#b86dc3',
    500: '#9525a9',
    950: '#000000',
  },
}
SCSS
$custom: #9525a9;
$custom-light: #b86dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9525a9",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 290.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.20849,
    "h": 321
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#9525A9
secondary
#74C465
accent
#E7415A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9525A9

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

Preview Lab → · Contrast checker → · Palette generator →

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