#9546AA#9546AA

#9546AA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.6% C 0.167 H 318.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9546AA
RGBrgb(149, 70, 170)
HSLhsl(287, 42%, 47%)
HSVhsv(287, 59%, 67%)
CMYKcmyk(12.4%, 58.8%, 0%, 33.3%)
CIE-LABlab(43.76, 48.66, -39.62)
CIE-LCHlch(43.76, 62.75, 320.85°)
OKLaboklab(53.59% 0.1259 -0.1104)
OKLCHoklch(53.59% 0.167 318.7)
XYZxyz(21.8393, 13.6731, 39.5112)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546AA #5BAA46
analogous
#6346AA #9546AA #AA468D
triadic
#9546AA #AA9546 #46AA95
tetradic
#9546AA #AA6346 #5BAA46 #468DAA
square
#9546AA #AA6346 #5BAA46 #468DAA
split-complementary
#9546AA #8DAA46 #46AA63
monochromatic
#492253 #6F347F #9546AA #B06BC2 #C796D4

Accessibility & contrast

On white

5.62
#9546AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9546AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546AA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546AA#FFFFFF#000000##FFFFFF
##9546AA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#4C6AA7
Tritanopia (blue-blind)
#955671
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9546aa;
/* rgb */ color: rgb(149, 70, 170);
/* oklch */ color: oklch(53.6% 0.167 318.7);
Tailwind
colors: {
  custom: {
    50: '#b77ec4',
    500: '#9546aa',
    950: '#000000',
  },
}
SCSS
$custom: #9546aa;
$custom-light: #b77ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9546aa",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 287.4,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.16747,
    "h": 318.7
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#9546AA
secondary
#97C08C
accent
#D15670
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9546AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9546AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva