#9527AB#9527AB

#9527AB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 320.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9527AB
RGBrgb(149, 39, 171)
HSLhsl(290, 63%, 41%)
HSVhsv(290, 77%, 67%)
CMYKcmyk(12.9%, 77.2%, 0%, 32.9%)
CIE-LABlab(39.21, 61.73, -47.48)
CIE-LCHlch(39.21, 77.87, 322.43°)
OKLaboklab(50.33% 0.16 -0.1332)
OKLCHoklch(50.33% 0.208 320.2)
XYZxyz(20.4697, 10.7819, 39.5231)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9527AB #3DAB27
analogous
#5327AB #9527AB #AB277F
triadic
#9527AB #AB9527 #27AB95
tetradic
#9527AB #AB5327 #3DAB27 #277FAB
square
#9527AB #AB5327 #3DAB27 #277FAB
split-complementary
#9527AB #7FAB27 #27AB53
monochromatic
#3E1047 #6A1C79 #9527AB #BA3DD3 #CB6EDE

Accessibility & contrast

On white

6.65
#9527AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9527AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9527AB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9527AB#FFFFFF#000000##FFFFFF
##9527AB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#964368
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9527ab;
/* rgb */ color: rgb(149, 39, 171);
/* oklch */ color: oklch(50.3% 0.208 320.2);
Tailwind
colors: {
  custom: {
    50: '#b86ec5',
    500: '#9527ab',
    950: '#000000',
  },
}
SCSS
$custom: #9527ab;
$custom-light: #b86ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9527ab",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 290,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.20821,
    "h": 320.2
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#9527AB
secondary
#78C569
accent
#E6425D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9527AB

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

Preview Lab → · Contrast checker → · Palette generator →

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