#9525A8#9525A8

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

Color values

HEX#9525A8
RGBrgb(149, 37, 168)
HSLhsl(291, 64%, 40%)
HSVhsv(291, 78%, 66%)
CMYKcmyk(11.3%, 78%, 0%, 34.1%)
CIE-LABlab(38.80, 61.81, -46.35)
CIE-LCHlch(38.80, 77.26, 323.14°)
OKLaboklab(49.98% 0.1621 -0.1299)
OKLCHoklch(49.98% 0.208 321.3)
XYZxyz(20.1231, 10.5410, 38.0129)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9525A8 #38A825
analogous
#5425A8 #9525A8 #A82579
triadic
#9525A8 #A89525 #25A895
tetradic
#9525A8 #A85425 #38A825 #2579A8
square
#9525A8 #A85425 #38A825 #2579A8
split-complementary
#9525A8 #79A825 #25A854
monochromatic
#3C0F44 #691A76 #9525A8 #BC37D3 #CD69DE

Accessibility & contrast

On white

6.76
#9525A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9525A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9525A8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9525A8#FFFFFF#000000##FFFFFF
##9525A81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#964066
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9525a8;
/* rgb */ color: rgb(149, 37, 168);
/* oklch */ color: oklch(50.0% 0.208 321.3);
Tailwind
colors: {
  custom: {
    50: '#b86dc2',
    500: '#9525a8',
    950: '#000000',
  },
}
SCSS
$custom: #9525a8;
$custom-light: #b86dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9525a8",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 291.298,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.20767,
    "h": 321.3
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#9525A8
secondary
#73C465
accent
#E74159
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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