#9531C2#9531C2

#9531C2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.218 H 312.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9531C2
RGBrgb(149, 49, 194)
HSLhsl(281, 60%, 48%)
HSVhsv(281, 75%, 76%)
CMYKcmyk(23.2%, 74.7%, 0%, 23.9%)
CIE-LABlab(41.97, 62.73, -56.59)
CIE-LCHlch(41.97, 84.48, 317.94°)
OKLaboklab(52.78% 0.148 -0.16)
OKLCHoklch(52.78% 0.218 312.8)
XYZxyz(23.2286, 12.4819, 52.2141)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9531C2 #5EC231
analogous
#4C31C2 #9531C2 #C231A7
triadic
#9531C2 #C29531 #31C295
tetradic
#9531C2 #C24C31 #5EC231 #31A7C2
square
#9531C2 #C24C31 #5EC231 #31A7C2
split-complementary
#9531C2 #A7C231 #31C24C
monochromatic
#4A1860 #6F2591 #9531C2 #AF5BD6 #C78CE2

Accessibility & contrast

On white

6.01
#9531C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9531C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9531C2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9531C2#FFFFFF#000000##FFFFFF
##9531C21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#905278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9531c2;
/* rgb */ color: rgb(149, 49, 194);
/* oklch */ color: oklch(52.8% 0.218 312.8);
Tailwind
colors: {
  custom: {
    50: '#b973d5',
    500: '#9531c2',
    950: '#000000',
  },
}
SCSS
$custom: #9531c2;
$custom-light: #b973d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9531c2",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 281.379,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.21797,
    "h": 312.8
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#9531C2
secondary
#9ACC83
accent
#E34576
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9531C2

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

Preview Lab → · Contrast checker → · Palette generator →

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