#9546D9#9546D9

#9546D9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.216 H 305.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9546D9
RGBrgb(149, 70, 217)
HSLhsl(272, 66%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(31.3%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.68, 58.92, -62.25)
CIE-LCHlch(46.68, 85.71, 313.43°)
OKLaboklab(56.63% 0.124 -0.1767)
OKLCHoklch(56.63% 0.216 305.1)
XYZxyz(27.1062, 15.7798, 67.2500)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D9 #8AD946
analogous
#4C46D9 #9546D9 #D946D3
triadic
#9546D9 #D99546 #46D995
tetradic
#9546D9 #D94C46 #8AD946 #46D3D9
square
#9546D9 #D94C46 #8AD946 #46D3D9
split-complementary
#9546D9 #D3D946 #46D94C
monochromatic
#561C89 #7626BB #9546D9 #B279E3 #CFACEE

Accessibility & contrast

On white

5.05
#9546D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9546D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D9#FFFFFF#000000##FFFFFF
##9546D91.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0F6FD6
Tritanopia (blue-blind)
#89678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9546d9;
/* rgb */ color: rgb(149, 70, 217);
/* oklch */ color: oklch(56.6% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#b97fe6',
    500: '#9546d9',
    950: '#000000',
  },
}
SCSS
$custom: #9546d9;
$custom-light: #b97fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d9",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 272.245,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.21591,
    "h": 305.1
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#9546D9
secondary
#BBDC9F
accent
#E93F8E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9546D9

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

Preview Lab → · Contrast checker → · Palette generator →

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