#9546DC#9546DC

#9546DC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.219 H 304.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9546DC
RGBrgb(149, 70, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(32.3%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.89, 59.61, -63.62)
CIE-LCHlch(46.89, 87.19, 313.14°)
OKLaboklab(56.85% 0.1237 -0.1808)
OKLCHoklch(56.85% 0.219 304.4)
XYZxyz(27.4999, 15.9373, 69.3237)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546DC #8DDC46
analogous
#4A46DC #9546DC #DC46D8
triadic
#9546DC #DC9546 #46DC95
tetradic
#9546DC #DC4A46 #8DDC46 #46D8DC
square
#9546DC #DC4A46 #8DDC46 #46D8DC
split-complementary
#9546DC #D8DC46 #46DC4A
monochromatic
#571B8D #7724C0 #9546DC #B279E6 #D0ADEF

Accessibility & contrast

On white

5.02
#9546DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9546DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546DC#FFFFFF#000000##FFFFFF
##9546DC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#88688C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9546dc;
/* rgb */ color: rgb(149, 70, 220);
/* oklch */ color: oklch(56.8% 0.219 304.4);
Tailwind
colors: {
  custom: {
    50: '#b97fe8',
    500: '#9546dc',
    950: '#000000',
  },
}
SCSS
$custom: #9546dc;
$custom-light: #b97fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9546dc",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 271.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.21902,
    "h": 304.4
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#9546DC
secondary
#BDDDA0
accent
#EB3D8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9546DC

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

Preview Lab → · Contrast checker → · Palette generator →

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