#9534B8#9534B8

#9534B8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 315.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9534B8
RGBrgb(149, 52, 184)
HSLhsl(284, 56%, 46%)
HSVhsv(284, 72%, 72%)
CMYKcmyk(19%, 71.7%, 0%, 27.8%)
CIE-LABlab(41.70, 59.55, -51.17)
CIE-LCHlch(41.70, 78.52, 319.33°)
OKLaboklab(52.37% 0.1465 -0.1441)
OKLCHoklch(52.37% 0.205 315.5)
XYZxyz(22.2728, 12.3071, 46.5404)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534B8 #57B834
analogous
#5334B8 #9534B8 #B83499
triadic
#9534B8 #B89534 #34B895
tetradic
#9534B8 #B85334 #57B834 #3499B8
square
#9534B8 #B85334 #57B834 #3499B8
split-complementary
#9534B8 #99B834 #34B853
monochromatic
#481959 #6E2788 #9534B8 #B159D0 #C789DE

Accessibility & contrast

On white

6.07
#9534B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9534B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534B8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534B8#FFFFFF#000000##FFFFFF
##9534B81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#924F73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9534b8;
/* rgb */ color: rgb(149, 52, 184);
/* oklch */ color: oklch(52.4% 0.205 315.5);
Tailwind
colors: {
  custom: {
    50: '#b874ce',
    500: '#9534b8',
    950: '#000000',
  },
}
SCSS
$custom: #9534b8;
$custom-light: #b874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9534b8",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 284.091,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.20548,
    "h": 315.5
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#9534B8
secondary
#93C880
accent
#DF4971
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9534B8

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

Preview Lab → · Contrast checker → · Palette generator →

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