#9546D3#9546D3

#9546D3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.210 H 306.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9546D3
RGBrgb(149, 70, 211)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(29.4%, 66.8%, 0%, 17.3%)
CIE-LABlab(46.28, 57.55, -59.47)
CIE-LCHlch(46.28, 82.76, 314.06°)
OKLaboklab(56.21% 0.1247 -0.1686)
OKLCHoklch(56.21% 0.21 306.5)
XYZxyz(26.3399, 15.4733, 63.2144)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D3 #84D346
analogous
#4E46D3 #9546D3 #D346CA
triadic
#9546D3 #D39546 #46D395
tetradic
#9546D3 #D34E46 #84D346 #46CAD3
square
#9546D3 #D34E46 #84D346 #46CAD3
split-complementary
#9546D3 #CAD346 #46D34E
monochromatic
#551E80 #762AB2 #9546D3 #B177DF #CEA9EB

Accessibility & contrast

On white

5.13
#9546D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9546D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D3#FFFFFF#000000##FFFFFF
##9546D31.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#8B6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9546d3;
/* rgb */ color: rgb(149, 70, 211);
/* oklch */ color: oklch(56.2% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#b97fe1',
    500: '#9546d3',
    950: '#000000',
  },
}
SCSS
$custom: #9546d3;
$custom-light: #b97fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d3",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 273.617,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.20969,
    "h": 306.5
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#9546D3
secondary
#B7D89D
accent
#E5438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546D3

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

Preview Lab → · Contrast checker → · Palette generator →

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