#9546AC#9546AC

#9546AC is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.7% C 0.169 H 318.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9546AC
RGBrgb(149, 70, 172)
HSLhsl(286, 42%, 47%)
HSVhsv(286, 59%, 67%)
CMYKcmyk(13.4%, 59.3%, 0%, 32.5%)
CIE-LABlab(43.87, 49.07, -40.63)
CIE-LCHlch(43.87, 63.70, 320.38°)
OKLaboklab(53.7% 0.126 -0.1134)
OKLCHoklch(53.7% 0.169 318)
XYZxyz(22.0299, 13.7493, 40.5152)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546AC #5DAC46
analogous
#6246AC #9546AC #AC4690
triadic
#9546AC #AC9546 #46AC95
tetradic
#9546AC #AC6246 #5DAC46 #4690AC
square
#9546AC #AC6246 #5DAC46 #4690AC
split-complementary
#9546AC #90AC46 #46AC62
monochromatic
#4A2355 #6F3481 #9546AC #B06CC3 #C798D5

Accessibility & contrast

On white

5.60
#9546AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9546AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9546AC#FFFFFF#000000##FFFFFF
##9546AC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#955772
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9546ac;
/* rgb */ color: rgb(149, 70, 172);
/* oklch */ color: oklch(53.7% 0.169 318.0);
Tailwind
colors: {
  custom: {
    50: '#b77ec5',
    500: '#9546ac',
    950: '#000000',
  },
}
SCSS
$custom: #9546ac;
$custom-light: #b77ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9546ac",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 286.471,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.16949,
    "h": 318
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#9546AC
secondary
#99C18D
accent
#D25672
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9546AC

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

Preview Lab → · Contrast checker → · Palette generator →

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