#9531AF#9531AF

#9531AF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.201 H 318.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9531AF
RGBrgb(149, 49, 175)
HSLhsl(288, 56%, 44%)
HSVhsv(288, 72%, 69%)
CMYKcmyk(14.9%, 72%, 0%, 31.4%)
CIE-LABlab(40.71, 58.94, -47.45)
CIE-LCHlch(40.71, 75.67, 321.16°)
OKLaboklab(51.48% 0.1503 -0.1332)
OKLCHoklch(51.48% 0.201 318.5)
XYZxyz(21.2295, 11.6823, 41.6858)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531AF #4BAF31
analogous
#5631AF #9531AF #AF318A
triadic
#9531AF #AF9531 #31AF95
tetradic
#9531AF #AF5631 #4BAF31 #318AAF
square
#9531AF #AF5631 #4BAF31 #318AAF
split-complementary
#9531AF #8AAF31 #31AF56
monochromatic
#44164F #6C247F #9531AF #B44FCE #C87FDB

Accessibility & contrast

On white

6.29
#9531AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9531AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531AF#FFFFFF#000000##FFFFFF
##9531AF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#954A6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9531af;
/* rgb */ color: rgb(149, 49, 175);
/* oklch */ color: oklch(51.5% 0.201 318.5);
Tailwind
colors: {
  custom: {
    50: '#b873c7',
    500: '#9531af',
    950: '#000000',
  },
}
SCSS
$custom: #9531af;
$custom-light: #b873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9531af",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 287.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.20084,
    "h": 318.5
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#9531AF
secondary
#87C478
accent
#E04867
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9531AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9531AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva