#9534A2#9534A2

#9534A2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.186 H 322.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9534A2
RGBrgb(149, 52, 162)
HSLhsl(293, 51%, 42%)
HSVhsv(293, 68%, 64%)
CMYKcmyk(8%, 67.9%, 0%, 36.5%)
CIE-LABlab(40.34, 55.27, -40.29)
CIE-LCHlch(40.34, 68.40, 323.91°)
OKLaboklab(50.96% 0.1477 -0.1123)
OKLCHoklch(50.96% 0.186 322.8)
XYZxyz(20.1434, 11.4553, 35.3255)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9534A2 #41A234
analogous
#5E34A2 #9534A2 #A23478
triadic
#9534A2 #A29534 #34A295
tetradic
#9534A2 #A25E34 #41A234 #3478A2
square
#9534A2 #A25E34 #41A234 #3478A2
split-complementary
#9534A2 #78A234 #34A25E
monochromatic
#401645 #6A2574 #9534A2 #B84DC6 #CA7CD5

Accessibility & contrast

On white

6.38
#9534A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9534A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9534A2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9534A2#FFFFFF#000000##FFFFFF
##9534A21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#974667
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9534a2;
/* rgb */ color: rgb(149, 52, 162);
/* oklch */ color: oklch(51.0% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#b774be',
    500: '#9534a2',
    950: '#000000',
  },
}
SCSS
$custom: #9534a2;
$custom-light: #b774be;
$custom-dark: #000000;
JSON
{
  "hex": "#9534a2",
  "rgb": {
    "r": 149,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 292.909,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.18556,
    "h": 322.8
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#9534A2
secondary
#7DBE74
accent
#DB4D5E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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