#9546BD#9546BD

#9546BD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.187 H 312.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9546BD
RGBrgb(149, 70, 189)
HSLhsl(280, 47%, 51%)
HSVhsv(280, 63%, 74%)
CMYKcmyk(21.2%, 63%, 0%, 25.9%)
CIE-LABlab(44.86, 52.66, -49.02)
CIE-LCHlch(44.86, 71.95, 317.05°)
OKLaboklab(54.74% 0.1261 -0.1379)
OKLCHoklch(54.74% 0.187 312.4)
XYZxyz(23.7683, 14.4446, 49.6703)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546BD #6EBD46
analogous
#5946BD #9546BD #BD46A9
triadic
#9546BD #BD9546 #46BD95
tetradic
#9546BD #BD5946 #6EBD46 #46A9BD
square
#9546BD #BD5946 #6EBD46 #46A9BD
split-complementary
#9546BD #A9BD46 #46BD59
monochromatic
#4F2465 #723492 #9546BD #AF73CD #C9A0DD

Accessibility & contrast

On white

5.40
#9546BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9546BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546BD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546BD#FFFFFF#000000##FFFFFF
##9546BD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#915D7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9546bd;
/* rgb */ color: rgb(149, 70, 189);
/* oklch */ color: oklch(54.7% 0.187 312.4);
Tailwind
colors: {
  custom: {
    50: '#b77ed1',
    500: '#9546bd',
    950: '#000000',
  },
}
SCSS
$custom: #9546bd;
$custom-light: #b77ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9546bd",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 279.832,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.1869,
    "h": 312.4
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#9546BD
secondary
#A7CA95
accent
#D7517E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9546BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9546BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva