#9527B1#9527B1

#9527B1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.213 H 318.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9527B1
RGBrgb(149, 39, 177)
HSLhsl(288, 64%, 42%)
HSVhsv(288, 78%, 69%)
CMYKcmyk(15.8%, 78%, 0%, 30.6%)
CIE-LABlab(39.61, 62.85, -50.41)
CIE-LCHlch(39.61, 80.57, 321.27°)
OKLaboklab(50.74% 0.1593 -0.1418)
OKLCHoklch(50.74% 0.213 318.3)
XYZxyz(21.0547, 11.0159, 42.6037)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9527B1 #43B127
analogous
#5027B1 #9527B1 #B12788
triadic
#9527B1 #B19527 #27B195
tetradic
#9527B1 #B15027 #43B127 #2788B1
square
#9527B1 #B15027 #43B127 #2788B1
split-complementary
#9527B1 #88B127 #27B150
monochromatic
#41114D #6B1C7F #9527B1 #B740D5 #CA72E0

Accessibility & contrast

On white

6.56
#9527B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9527B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9527B1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9527B1#FFFFFF#000000##FFFFFF
##9527B11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#2E61AE
Tritanopia (blue-blind)
#94456C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9527b1;
/* rgb */ color: rgb(149, 39, 177);
/* oklch */ color: oklch(50.7% 0.213 318.3);
Tailwind
colors: {
  custom: {
    50: '#b86ec9',
    500: '#9527b1',
    950: '#000000',
  },
}
SCSS
$custom: #9527b1;
$custom-light: #b86ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9527b1",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 287.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.21325,
    "h": 318.3
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#9527B1
secondary
#7FC76D
accent
#E74163
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9527B1

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

Preview Lab → · Contrast checker → · Palette generator →

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