#9546BF#9546BF

#9546BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.189 H 311.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9546BF
RGBrgb(149, 70, 191)
HSLhsl(279, 49%, 51%)
HSVhsv(279, 63%, 75%)
CMYKcmyk(22%, 63.4%, 0%, 25.1%)
CIE-LABlab(44.99, 53.10, -49.99)
CIE-LCHlch(44.99, 72.93, 316.73°)
OKLaboklab(54.87% 0.1261 -0.1407)
OKLCHoklch(54.87% 0.189 311.9)
XYZxyz(23.9868, 14.5321, 50.8215)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546BF #70BF46
analogous
#5846BF #9546BF #BF46AC
triadic
#9546BF #BF9546 #46BF95
tetradic
#9546BF #BF5846 #70BF46 #46ACBF
square
#9546BF #BF5846 #70BF46 #46ACBF
split-complementary
#9546BF #ACBF46 #46BF58
monochromatic
#502467 #733394 #9546BF #AF73CF #C9A1DE

Accessibility & contrast

On white

5.38
#9546BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9546BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546BF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546BF#FFFFFF#000000##FFFFFF
##9546BF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B67C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#905D7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9546bf;
/* rgb */ color: rgb(149, 70, 191);
/* oklch */ color: oklch(54.9% 0.189 311.9);
Tailwind
colors: {
  custom: {
    50: '#b87ed3',
    500: '#9546bf',
    950: '#000000',
  },
}
SCSS
$custom: #9546bf;
$custom-light: #b87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9546bf",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 279.174,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.18896,
    "h": 311.9
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#9546BF
secondary
#A8CB96
accent
#D8507F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9546BF

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

Preview Lab → · Contrast checker → · Palette generator →

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