#9530B7#9530B7

#9530B7 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.209 H 316.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9530B7
RGBrgb(149, 48, 183)
HSLhsl(285, 58%, 45%)
HSVhsv(285, 74%, 72%)
CMYKcmyk(18.6%, 73.8%, 0%, 28.2%)
CIE-LABlab(41.09, 60.89, -51.56)
CIE-LCHlch(41.09, 79.79, 319.74°)
OKLaboklab(51.92% 0.1505 -0.1452)
OKLCHoklch(51.92% 0.209 316)
XYZxyz(21.9973, 11.9232, 45.9333)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9530B7 #52B730
analogous
#5130B7 #9530B7 #B73095
triadic
#9530B7 #B79530 #30B795
tetradic
#9530B7 #B75130 #52B730 #3095B7
square
#9530B7 #B75130 #52B730 #3095B7
split-complementary
#9530B7 #95B730 #30B751
monochromatic
#461756 #6E2387 #9530B7 #B252D2 #C783DE

Accessibility & contrast

On white

6.20
#9530B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9530B7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9530B7#FFFFFF#000000##FFFFFF
##9530B71.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#934D71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9530b7;
/* rgb */ color: rgb(149, 48, 183);
/* oklch */ color: oklch(51.9% 0.209 316.0);
Tailwind
colors: {
  custom: {
    50: '#b872cd',
    500: '#9530b7',
    950: '#000000',
  },
}
SCSS
$custom: #9530b7;
$custom-light: #b872cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9530b7",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 284.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.20914,
    "h": 316
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#9530B7
secondary
#8EC87B
accent
#E2466D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9530B7

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

Preview Lab → · Contrast checker → · Palette generator →

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