#9531C4#9531C4

#9531C4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.220 H 312.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9531C4
RGBrgb(149, 49, 196)
HSLhsl(281, 60%, 48%)
HSVhsv(281, 75%, 77%)
CMYKcmyk(24%, 75%, 0%, 23.1%)
CIE-LABlab(42.11, 63.14, -57.53)
CIE-LCHlch(42.11, 85.42, 317.66°)
OKLaboklab(52.92% 0.1477 -0.1628)
OKLCHoklch(52.92% 0.22 312.2)
XYZxyz(23.4547, 12.5724, 53.4050)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C4 #60C431
analogous
#4B31C4 #9531C4 #C431AA
triadic
#9531C4 #C49531 #31C495
tetradic
#9531C4 #C44B31 #60C431 #31AAC4
square
#9531C4 #C44B31 #60C431 #31AAC4
split-complementary
#9531C4 #AAC431 #31C44B
monochromatic
#4B1962 #702593 #9531C4 #AF5CD6 #C78DE2

Accessibility & contrast

On white

5.98
#9531C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9531C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C4#FFFFFF#000000##FFFFFF
##9531C41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#1B65C1
Tritanopia (blue-blind)
#8F5379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9531c4;
/* rgb */ color: rgb(149, 49, 196);
/* oklch */ color: oklch(52.9% 0.220 312.2);
Tailwind
colors: {
  custom: {
    50: '#b973d7',
    500: '#9531c4',
    950: '#000000',
  },
}
SCSS
$custom: #9531c4;
$custom-light: #b973d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c4",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 280.816,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.21979,
    "h": 312.2
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#9531C4
secondary
#9BCD84
accent
#E34577
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9531C4

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

Preview Lab → · Contrast checker → · Palette generator →

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