#9530B8#9530B8

#9530B8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.210 H 315.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9530B8
RGBrgb(149, 48, 184)
HSLhsl(285, 59%, 45%)
HSVhsv(285, 74%, 72%)
CMYKcmyk(19%, 73.9%, 0%, 27.8%)
CIE-LABlab(41.16, 61.09, -52.04)
CIE-LCHlch(41.16, 80.25, 319.57°)
OKLaboklab(51.99% 0.1504 -0.1466)
OKLCHoklch(51.99% 0.21 315.7)
XYZxyz(22.1017, 11.9650, 46.4834)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9530B8 #53B830
analogous
#5130B8 #9530B8 #B83097
triadic
#9530B8 #B89530 #30B895
tetradic
#9530B8 #B85130 #53B830 #3097B8
square
#9530B8 #B85130 #53B830 #3097B8
split-complementary
#9530B8 #97B830 #30B851
monochromatic
#461757 #6E2387 #9530B8 #B153D2 #C784DF

Accessibility & contrast

On white

6.19
#9530B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9530B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9530B8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9530B8#FFFFFF#000000##FFFFFF
##9530B81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#924D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9530b8;
/* rgb */ color: rgb(149, 48, 184);
/* oklch */ color: oklch(52.0% 0.210 315.7);
Tailwind
colors: {
  custom: {
    50: '#b872ce',
    500: '#9530b8',
    950: '#000000',
  },
}
SCSS
$custom: #9530b8;
$custom-light: #b872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9530b8",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 284.559,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.21003,
    "h": 315.7
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#9530B8
secondary
#8FC87C
accent
#E2466E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9530B8

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

Preview Lab → · Contrast checker → · Palette generator →

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