#9531C6#9531C6

#9531C6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.222 H 311.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9531C6
RGBrgb(149, 49, 198)
HSLhsl(280, 60%, 48%)
HSVhsv(280, 75%, 78%)
CMYKcmyk(24.7%, 75.3%, 0%, 22.4%)
CIE-LABlab(42.25, 63.55, -58.47)
CIE-LCHlch(42.25, 86.35, 317.38°)
OKLaboklab(53.06% 0.1474 -0.1655)
OKLCHoklch(53.06% 0.222 311.7)
XYZxyz(23.6839, 12.6640, 54.6119)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C6 #62C631
analogous
#4A31C6 #9531C6 #C631AC
triadic
#9531C6 #C69531 #31C695
tetradic
#9531C6 #C64A31 #62C631 #31ACC6
square
#9531C6 #C64A31 #62C631 #31ACC6
split-complementary
#9531C6 #ACC631 #31C64A
monochromatic
#4B1964 #702595 #9531C6 #AF5DD7 #C78EE3

Accessibility & contrast

On white

5.94
#9531C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9531C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C6#FFFFFF#000000##FFFFFF
##9531C61.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#1666C3
Tritanopia (blue-blind)
#8F547A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9531c6;
/* rgb */ color: rgb(149, 49, 198);
/* oklch */ color: oklch(53.1% 0.222 311.7);
Tailwind
colors: {
  custom: {
    50: '#b974d8',
    500: '#9531c6',
    950: '#000000',
  },
}
SCSS
$custom: #9531c6;
$custom-light: #b974d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c6",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 280.268,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.22161,
    "h": 311.7
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#9531C6
secondary
#9DCE85
accent
#E34479
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9531C6

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

Preview Lab → · Contrast checker → · Palette generator →

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