#9527BA#9527BA

#9527BA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.221 H 315.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9527BA
RGBrgb(149, 39, 186)
HSLhsl(285, 65%, 44%)
HSVhsv(285, 79%, 73%)
CMYKcmyk(19.9%, 79%, 0%, 27.1%)
CIE-LABlab(40.22, 64.56, -54.73)
CIE-LCHlch(40.22, 84.64, 319.71°)
OKLaboklab(51.37% 0.1579 -0.1545)
OKLCHoklch(51.37% 0.221 315.6)
XYZxyz(21.9814, 11.3866, 47.4848)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9527BA #4CBA27
analogous
#4C27BA #9527BA #BA2796
triadic
#9527BA #BA9527 #27BA95
tetradic
#9527BA #BA4C27 #4CBA27 #2796BA
square
#9527BA #BA4C27 #4CBA27 #2796BA
split-complementary
#9527BA #96BA27 #27BA4C
monochromatic
#441255 #6C1C87 #9527BA #B346D8 #C879E3

Accessibility & contrast

On white

6.41
#9527BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9527BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9527BA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9527BA#FFFFFF#000000##FFFFFF
##9527BA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#924A71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9527ba;
/* rgb */ color: rgb(149, 39, 186);
/* oklch */ color: oklch(51.4% 0.221 315.6);
Tailwind
colors: {
  custom: {
    50: '#b96fd0',
    500: '#9527ba',
    950: '#000000',
  },
}
SCSS
$custom: #9527ba;
$custom-light: #b96fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9527ba",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 284.898,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.22087,
    "h": 315.6
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#9527BA
secondary
#88CB72
accent
#E8406A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9527BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9527BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva