#9545BE#9545BE

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

Color values

HEX#9545BE
RGBrgb(149, 69, 190)
HSLhsl(280, 48%, 51%)
HSVhsv(280, 64%, 75%)
CMYKcmyk(21.6%, 63.7%, 0%, 25.5%)
CIE-LABlab(44.75, 53.36, -49.79)
CIE-LCHlch(44.75, 72.98, 316.98°)
OKLaboklab(54.68% 0.1273 -0.1401)
OKLCHoklch(54.68% 0.189 312.3)
XYZxyz(23.8151, 14.3641, 50.2232)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545BE #6EBE45
analogous
#5845BE #9545BE #BE45AB
triadic
#9545BE #BE9545 #45BE95
tetradic
#9545BE #BE5845 #6EBE45 #45ABBE
square
#9545BE #BE5845 #6EBE45 #45ABBE
split-complementary
#9545BE #ABBE45 #45BE58
monochromatic
#4F2365 #723393 #9545BE #AF72CE #C9A0DE

Accessibility & contrast

On white

5.42
#9545BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9545BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545BE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545BE#FFFFFF#000000##FFFFFF
##9545BE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#905C7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9545be;
/* rgb */ color: rgb(149, 69, 190);
/* oklch */ color: oklch(54.7% 0.189 312.3);
Tailwind
colors: {
  custom: {
    50: '#b87ed2',
    500: '#9545be',
    950: '#000000',
  },
}
SCSS
$custom: #9545be;
$custom-light: #b87ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9545be",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 279.669,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.18934,
    "h": 312.3
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#9545BE
secondary
#A7CA95
accent
#D8507E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9545BE

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

Preview Lab → · Contrast checker → · Palette generator →

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