#9530B6#9530B6

#9530B6 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.208 H 316.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9530B6
RGBrgb(149, 48, 182)
HSLhsl(285, 58%, 45%)
HSVhsv(285, 74%, 71%)
CMYKcmyk(18.1%, 73.6%, 0%, 28.6%)
CIE-LABlab(41.03, 60.69, -51.08)
CIE-LCHlch(41.03, 79.32, 319.92°)
OKLaboklab(51.85% 0.1506 -0.1438)
OKLCHoklch(51.85% 0.208 316.3)
XYZxyz(21.8936, 11.8817, 45.3870)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9530B6 #51B630
analogous
#5230B6 #9530B6 #B63094
triadic
#9530B6 #B69530 #30B695
tetradic
#9530B6 #B65230 #51B630 #3094B6
square
#9530B6 #B65230 #51B630 #3094B6
split-complementary
#9530B6 #94B630 #30B652
monochromatic
#461655 #6D2386 #9530B6 #B252D1 #C782DE

Accessibility & contrast

On white

6.22
#9530B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9530B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9530B6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9530B6#FFFFFF#000000##FFFFFF
##9530B61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#934C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9530b6;
/* rgb */ color: rgb(149, 48, 182);
/* oklch */ color: oklch(51.8% 0.208 316.3);
Tailwind
colors: {
  custom: {
    50: '#b872cd',
    500: '#9530b6',
    950: '#000000',
  },
}
SCSS
$custom: #9530b6;
$custom-light: #b872cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9530b6",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 285.224,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.20823,
    "h": 316.3
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#9530B6
secondary
#8DC77B
accent
#E1466D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9530B6

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

Preview Lab → · Contrast checker → · Palette generator →

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