#9545AF#9545AF

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

Color values

HEX#9545AF
RGBrgb(149, 69, 175)
HSLhsl(285, 43%, 48%)
HSVhsv(285, 61%, 69%)
CMYKcmyk(14.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(43.86, 50.18, -42.41)
CIE-LCHlch(43.86, 65.70, 319.79°)
OKLaboklab(53.75% 0.1274 -0.1186)
OKLCHoklch(53.75% 0.174 317)
XYZxyz(22.2593, 13.7418, 42.0290)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545AF #5FAF45
analogous
#6045AF #9545AF #AF4594
triadic
#9545AF #AF9545 #45AF95
tetradic
#9545AF #AF6045 #5FAF45 #4594AF
square
#9545AF #AF6045 #5FAF45 #4594AF
split-complementary
#9545AF #94AF45 #45AF60
monochromatic
#4A2257 #703483 #9545AF #AF6CC5 #C798D6

Accessibility & contrast

On white

5.60
#9545AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9545AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545AF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545AF#FFFFFF#000000##FFFFFF
##9545AF1.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)
#2763B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#945773
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9545af;
/* rgb */ color: rgb(149, 69, 175);
/* oklch */ color: oklch(53.7% 0.174 317.0);
Tailwind
colors: {
  custom: {
    50: '#b77dc7',
    500: '#9545af',
    950: '#000000',
  },
}
SCSS
$custom: #9545af;
$custom-light: #b77dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9545af",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 285.283,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.17403,
    "h": 317
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#9545AF
secondary
#9AC28D
accent
#D35574
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9545AF

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

Preview Lab → · Contrast checker → · Palette generator →

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