#9525A2#9525A2

#9525A2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 323.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9525A2
RGBrgb(149, 37, 162)
HSLhsl(294, 63%, 39%)
HSVhsv(294, 77%, 64%)
CMYKcmyk(8%, 77.2%, 0%, 36.5%)
CIE-LABlab(38.42, 60.74, -43.36)
CIE-LCHlch(38.42, 74.63, 324.47°)
OKLaboklab(49.58% 0.1626 -0.1211)
OKLCHoklch(49.58% 0.203 323.3)
XYZxyz(19.5770, 10.3225, 35.1367)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525A2 #32A225
analogous
#5725A2 #9525A2 #A22571
triadic
#9525A2 #A29525 #25A295
tetradic
#9525A2 #A25725 #32A225 #2571A2
square
#9525A2 #A25725 #32A225 #2571A2
split-complementary
#9525A2 #71A225 #25A257
monochromatic
#390E3E #671A70 #9525A2 #C034D1 #D065DC

Accessibility & contrast

On white

6.85
#9525A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9525A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525A2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525A2#FFFFFF#000000##FFFFFF
##9525A21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#973D63
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9525a2;
/* rgb */ color: rgb(149, 37, 162);
/* oklch */ color: oklch(49.6% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#b86dbe',
    500: '#9525a2',
    950: '#000000',
  },
}
SCSS
$custom: #9525a2;
$custom-light: #b86dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9525a2",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 293.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.20277,
    "h": 323.3
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#9525A2
secondary
#6BC261
accent
#E64253
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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