#9545A2#9545A2

#9545A2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.0% C 0.161 H 321.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9545A2
RGBrgb(149, 69, 162)
HSLhsl(292, 40%, 45%)
HSVhsv(292, 57%, 64%)
CMYKcmyk(8%, 57.4%, 0%, 36.5%)
CIE-LABlab(43.15, 47.54, -35.84)
CIE-LCHlch(43.15, 59.54, 322.99°)
OKLaboklab(53% 0.1267 -0.0995)
OKLCHoklch(53% 0.161 321.9)
XYZxyz(21.0434, 13.2554, 35.6255)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545A2 #52A245
analogous
#6645A2 #9545A2 #A24580
triadic
#9545A2 #A29545 #45A295
tetradic
#9545A2 #A26645 #52A245 #4580A2
square
#9545A2 #A26645 #52A245 #4580A2
split-complementary
#9545A2 #80A245 #45A266
monochromatic
#46204C #6E3377 #9545A2 #B266BE #C791D0

Accessibility & contrast

On white

5.75
#9545A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9545A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545A2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545A2#FFFFFF#000000##FFFFFF
##9545A21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#97526D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9545a2;
/* rgb */ color: rgb(149, 69, 162);
/* oklch */ color: oklch(53.0% 0.161 321.9);
Tailwind
colors: {
  custom: {
    50: '#b67dbe',
    500: '#9545a2',
    950: '#000000',
  },
}
SCSS
$custom: #9545a2;
$custom-light: #b67dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9545a2",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 291.613,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.16107,
    "h": 321.9
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#9545A2
secondary
#8EBC87
accent
#D05869
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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