#9531C5#9531C5

#9531C5 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.221 H 312.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9531C5
RGBrgb(149, 49, 197)
HSLhsl(281, 60%, 48%)
HSVhsv(281, 75%, 77%)
CMYKcmyk(24.4%, 75.1%, 0%, 22.7%)
CIE-LABlab(42.18, 63.34, -58.00)
CIE-LCHlch(42.18, 85.89, 317.52°)
OKLaboklab(52.99% 0.1475 -0.1641)
OKLCHoklch(52.99% 0.221 312)
XYZxyz(23.5689, 12.6181, 54.0065)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C5 #61C531
analogous
#4B31C5 #9531C5 #C531AB
triadic
#9531C5 #C59531 #31C595
tetradic
#9531C5 #C54B31 #61C531 #31ABC5
square
#9531C5 #C54B31 #61C531 #31ABC5
split-complementary
#9531C5 #ABC531 #31C54B
monochromatic
#4B1963 #702594 #9531C5 #AF5DD7 #C78EE3

Accessibility & contrast

On white

5.96
#9531C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9531C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C5#FFFFFF#000000##FFFFFF
##9531C51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#1965C2
Tritanopia (blue-blind)
#8F5379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9531c5;
/* rgb */ color: rgb(149, 49, 197);
/* oklch */ color: oklch(53.0% 0.221 312.0);
Tailwind
colors: {
  custom: {
    50: '#b973d7',
    500: '#9531c5',
    950: '#000000',
  },
}
SCSS
$custom: #9531c5;
$custom-light: #b973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c5",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 280.541,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.2207,
    "h": 312
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#9531C5
secondary
#9CCD85
accent
#E34478
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9531C5

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

Preview Lab → · Contrast checker → · Palette generator →

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