#9545B2#9545B2

#9545B2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.9% C 0.177 H 316.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9545B2
RGBrgb(149, 69, 178)
HSLhsl(284, 44%, 48%)
HSVhsv(284, 61%, 70%)
CMYKcmyk(16.3%, 61.2%, 0%, 30.2%)
CIE-LABlab(44.03, 50.80, -43.91)
CIE-LCHlch(44.03, 67.15, 319.16°)
OKLaboklab(53.93% 0.1274 -0.1229)
OKLCHoklch(53.93% 0.177 316)
XYZxyz(22.5572, 13.8610, 43.5980)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545B2 #62B245
analogous
#5E45B2 #9545B2 #B24598
triadic
#9545B2 #B29545 #45B295
tetradic
#9545B2 #B25E45 #62B245 #4598B2
square
#9545B2 #B25E45 #62B245 #4598B2
split-complementary
#9545B2 #98B245 #45B25E
monochromatic
#4B235A #703486 #9545B2 #AF6EC7 #C79AD8

Accessibility & contrast

On white

5.57
#9545B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9545B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545B2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545B2#FFFFFF#000000##FFFFFF
##9545B21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#935875
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9545b2;
/* rgb */ color: rgb(149, 69, 178);
/* oklch */ color: oklch(53.9% 0.177 316.0);
Tailwind
colors: {
  custom: {
    50: '#b77dc9',
    500: '#9545b2',
    950: '#000000',
  },
}
SCSS
$custom: #9545b2;
$custom-light: #b77dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9545b2",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 284.037,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.17707,
    "h": 316
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#9545B2
secondary
#9DC48F
accent
#D45476
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9545B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9545B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva