#9545BF#9545BF

#9545BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.190 H 312.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9545BF
RGBrgb(149, 69, 191)
HSLhsl(279, 49%, 51%)
HSVhsv(279, 64%, 75%)
CMYKcmyk(22%, 63.9%, 0%, 25.1%)
CIE-LABlab(44.81, 53.58, -50.27)
CIE-LCHlch(44.81, 73.47, 316.82°)
OKLaboklab(54.75% 0.1273 -0.1416)
OKLCHoklch(54.75% 0.19 312)
XYZxyz(23.9248, 14.4080, 50.8008)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545BF #6FBF45
analogous
#5845BF #9545BF #BF45AC
triadic
#9545BF #BF9545 #45BF95
tetradic
#9545BF #BF5845 #6FBF45 #45ACBF
square
#9545BF #BF5845 #6FBF45 #45ACBF
split-complementary
#9545BF #ACBF45 #45BF58
monochromatic
#4F2366 #733394 #9545BF #AF73CF #C9A0DE

Accessibility & contrast

On white

5.41
#9545BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9545BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545BF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545BF#FFFFFF#000000##FFFFFF
##9545BF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#905D7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9545bf;
/* rgb */ color: rgb(149, 69, 191);
/* oklch */ color: oklch(54.7% 0.190 312.0);
Tailwind
colors: {
  custom: {
    50: '#b87ed3',
    500: '#9545bf',
    950: '#000000',
  },
}
SCSS
$custom: #9545bf;
$custom-light: #b87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9545bf",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 279.344,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.19036,
    "h": 312
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#9545BF
secondary
#A7CB95
accent
#D84F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9545BF

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

Preview Lab → · Contrast checker → · Palette generator →

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