#9545BC#9545BC

#9545BC is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.187 H 312.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9545BC
RGBrgb(149, 69, 188)
HSLhsl(280, 47%, 50%)
HSVhsv(280, 63%, 74%)
CMYKcmyk(20.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(44.63, 52.93, -48.82)
CIE-LCHlch(44.63, 72.00, 317.31°)
OKLaboklab(54.55% 0.1274 -0.1373)
OKLCHoklch(54.55% 0.187 312.8)
XYZxyz(23.5981, 14.2773, 49.0799)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545BC #6CBC45
analogous
#5945BC #9545BC #BC45A8
triadic
#9545BC #BC9545 #45BC95
tetradic
#9545BC #BC5945 #6CBC45 #45A8BC
square
#9545BC #BC5945 #6CBC45 #45A8BC
split-complementary
#9545BC #A8BC45 #45BC59
monochromatic
#4E2463 #723490 #9545BC #AF72CC #C89FDC

Accessibility & contrast

On white

5.45
#9545BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9545BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545BC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545BC#FFFFFF#000000##FFFFFF
##9545BC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#915C7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9545bc;
/* rgb */ color: rgb(149, 69, 188);
/* oklch */ color: oklch(54.6% 0.187 312.8);
Tailwind
colors: {
  custom: {
    50: '#b77ed1',
    500: '#9545bc',
    950: '#000000',
  },
}
SCSS
$custom: #9545bc;
$custom-light: #b77ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9545bc",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 280.336,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.18729,
    "h": 312.8
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#9545BC
secondary
#A5C994
accent
#D7517D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9545BC

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

Preview Lab → · Contrast checker → · Palette generator →

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