#9530B5#9530B5

#9530B5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.207 H 316.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9530B5
RGBrgb(149, 48, 181)
HSLhsl(286, 58%, 45%)
HSVhsv(286, 73%, 71%)
CMYKcmyk(17.7%, 73.5%, 0%, 29%)
CIE-LABlab(40.96, 60.49, -50.59)
CIE-LCHlch(40.96, 78.86, 320.09°)
OKLaboklab(51.78% 0.1507 -0.1424)
OKLCHoklch(51.78% 0.207 316.6)
XYZxyz(21.7906, 11.8406, 44.8447)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9530B5 #50B530
analogous
#5330B5 #9530B5 #B53093
triadic
#9530B5 #B59530 #30B595
tetradic
#9530B5 #B55330 #50B530 #3093B5
square
#9530B5 #B55330 #50B530 #3093B5
split-complementary
#9530B5 #93B530 #30B553
monochromatic
#451654 #6D2385 #9530B5 #B251D1 #C882DE

Accessibility & contrast

On white

6.24
#9530B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9530B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9530B5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9530B5#FFFFFF#000000##FFFFFF
##9530B51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3163B2
Tritanopia (blue-blind)
#934C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9530b5;
/* rgb */ color: rgb(149, 48, 181);
/* oklch */ color: oklch(51.8% 0.207 316.6);
Tailwind
colors: {
  custom: {
    50: '#b872cc',
    500: '#9530b5',
    950: '#000000',
  },
}
SCSS
$custom: #9530b5;
$custom-light: #b872cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9530b5",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 285.564,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.20734,
    "h": 316.6
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#9530B5
secondary
#8CC77A
accent
#E1466C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9530B5

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

Preview Lab → · Contrast checker → · Palette generator →

#9530B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva