#9546D5#9546D5

#9546D5 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.212 H 306.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9546D5
RGBrgb(149, 70, 213)
HSLhsl(273, 63%, 55%)
HSVhsv(273, 67%, 84%)
CMYKcmyk(30%, 67.1%, 0%, 16.5%)
CIE-LABlab(46.41, 58.01, -60.40)
CIE-LCHlch(46.41, 83.75, 313.84°)
OKLaboklab(56.35% 0.1245 -0.1713)
OKLCHoklch(56.35% 0.212 306)
XYZxyz(26.5922, 15.5742, 64.5431)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D5 #86D546
analogous
#4D46D5 #9546D5 #D546CD
triadic
#9546D5 #D59546 #46D595
tetradic
#9546D5 #D54D46 #86D546 #46CDD5
square
#9546D5 #D54D46 #86D546 #46CDD5
split-complementary
#9546D5 #CDD546 #46D54D
monochromatic
#561E83 #7629B5 #9546D5 #B278E0 #CEAAEC

Accessibility & contrast

On white

5.10
#9546D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9546D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D5#FFFFFF#000000##FFFFFF
##9546D51.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#8A6688
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9546d5;
/* rgb */ color: rgb(149, 70, 213);
/* oklch */ color: oklch(56.4% 0.212 306.0);
Tailwind
colors: {
  custom: {
    50: '#b97fe3',
    500: '#9546d5',
    950: '#000000',
  },
}
SCSS
$custom: #9546d5;
$custom-light: #b97fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d5",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 273.147,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.21177,
    "h": 306
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#9546D5
secondary
#B8D99E
accent
#E6428B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9546D5

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

Preview Lab → · Contrast checker → · Palette generator →

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