#9526A4#9526A4

#9526A4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9526A4
RGBrgb(149, 38, 164)
HSLhsl(293, 62%, 40%)
HSVhsv(293, 77%, 64%)
CMYKcmyk(9.1%, 76.8%, 0%, 35.7%)
CIE-LABlab(38.65, 60.77, -44.19)
CIE-LCHlch(38.65, 75.14, 323.98°)
OKLaboklab(49.79% 0.1616 -0.1235)
OKLCHoklch(49.79% 0.203 322.6)
XYZxyz(19.7877, 10.4573, 36.0910)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526A4 #35A426
analogous
#5626A4 #9526A4 #A42674
triadic
#9526A4 #A49526 #26A495
tetradic
#9526A4 #A45626 #35A426 #2674A4
square
#9526A4 #A45626 #35A426 #2674A4
split-complementary
#9526A4 #74A426 #26A456
monochromatic
#3B0F41 #681A72 #9526A4 #BE37D1 #CE68DC

Accessibility & contrast

On white

6.79
#9526A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9526A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526A4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526A4#FFFFFF#000000##FFFFFF
##9526A41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#973F64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9526a4;
/* rgb */ color: rgb(149, 38, 164);
/* oklch */ color: oklch(49.8% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#b86dbf',
    500: '#9526a4',
    950: '#000000',
  },
}
SCSS
$custom: #9526a4;
$custom-light: #b86dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9526a4",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 292.857,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.2034,
    "h": 322.6
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#9526A4
secondary
#6FC264
accent
#E54256
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9526A4

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

Preview Lab → · Contrast checker → · Palette generator →

#9526A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva