#9546D8#9546D8

#9546D8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.215 H 305.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9546D8
RGBrgb(149, 70, 216)
HSLhsl(272, 65%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(31%, 67.6%, 0%, 15.3%)
CIE-LABlab(46.62, 58.69, -61.79)
CIE-LCHlch(46.62, 85.22, 313.53°)
OKLaboklab(56.56% 0.1242 -0.1754)
OKLCHoklch(56.56% 0.215 305.3)
XYZxyz(26.9765, 15.7279, 66.5671)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D8 #89D846
analogous
#4C46D8 #9546D8 #D846D2
triadic
#9546D8 #D89546 #46D895
tetradic
#9546D8 #D84C46 #89D846 #46D2D8
square
#9546D8 #D84C46 #89D846 #46D2D8
split-complementary
#9546D8 #D2D846 #46D84C
monochromatic
#561C87 #7627BA #9546D8 #B279E3 #CFABED

Accessibility & contrast

On white

5.07
#9546D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9546D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D8#FFFFFF#000000##FFFFFF
##9546D81.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#89678A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9546d8;
/* rgb */ color: rgb(149, 70, 216);
/* oklch */ color: oklch(56.6% 0.215 305.3);
Tailwind
colors: {
  custom: {
    50: '#b97fe5',
    500: '#9546d8',
    950: '#000000',
  },
}
SCSS
$custom: #9546d8;
$custom-light: #b97fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d8",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 272.466,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.21488,
    "h": 305.3
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#9546D8
secondary
#BADB9F
accent
#E8408D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9546D8

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

Preview Lab → · Contrast checker → · Palette generator →

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