#9546D7#9546D7

#9546D7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.214 H 305.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9546D7
RGBrgb(149, 70, 215)
HSLhsl(273, 64%, 56%)
HSVhsv(273, 67%, 84%)
CMYKcmyk(30.7%, 67.4%, 0%, 15.7%)
CIE-LABlab(46.55, 58.47, -61.33)
CIE-LCHlch(46.55, 84.73, 313.63°)
OKLaboklab(56.49% 0.1243 -0.174)
OKLCHoklch(56.49% 0.214 305.5)
XYZxyz(26.8476, 15.6764, 65.8883)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D7 #88D746
analogous
#4C46D7 #9546D7 #D746D0
triadic
#9546D7 #D79546 #46D795
tetradic
#9546D7 #D74C46 #88D746 #46D0D7
square
#9546D7 #D74C46 #88D746 #46D0D7
split-complementary
#9546D7 #D0D746 #46D74C
monochromatic
#561D86 #7628B8 #9546D7 #B278E2 #CFABED

Accessibility & contrast

On white

5.08
#9546D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9546D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D7#FFFFFF#000000##FFFFFF
##9546D71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#896689
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9546d7;
/* rgb */ color: rgb(149, 70, 215);
/* oklch */ color: oklch(56.5% 0.214 305.5);
Tailwind
colors: {
  custom: {
    50: '#b97fe4',
    500: '#9546d7',
    950: '#000000',
  },
}
SCSS
$custom: #9546d7;
$custom-light: #b97fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d7",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 272.69,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.21384,
    "h": 305.5
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#9546D7
secondary
#BADA9E
accent
#E7408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9546D7

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

Preview Lab → · Contrast checker → · Palette generator →

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