#9546CC#9546CC

#9546CC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.202 H 308.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9546CC
RGBrgb(149, 70, 204)
HSLhsl(275, 57%, 54%)
HSVhsv(275, 66%, 80%)
CMYKcmyk(27%, 65.7%, 0%, 20%)
CIE-LABlab(45.81, 55.97, -56.20)
CIE-LCHlch(45.81, 79.32, 314.89°)
OKLaboklab(55.73% 0.1253 -0.159)
OKLCHoklch(55.73% 0.202 308.3)
XYZxyz(25.4814, 15.1299, 58.6930)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546CC #7DCC46
analogous
#5246CC #9546CC #CC46C0
triadic
#9546CC #CC9546 #46CC95
tetradic
#9546CC #CC5246 #7DCC46 #46C0CC
square
#9546CC #CC5246 #7DCC46 #46C0CC
split-complementary
#9546CC #C0CC46 #46CC52
monochromatic
#542177 #752EA7 #9546CC #B076D9 #CCA6E6

Accessibility & contrast

On white

5.22
#9546CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9546CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546CC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546CC#FFFFFF#000000##FFFFFF
##9546CC1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#8D6283
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9546cc;
/* rgb */ color: rgb(149, 70, 204);
/* oklch */ color: oklch(55.7% 0.202 308.3);
Tailwind
colors: {
  custom: {
    50: '#b87fdc',
    500: '#9546cc',
    950: '#000000',
  },
}
SCSS
$custom: #9546cc;
$custom-light: #b87fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9546cc",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 275.373,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.20243,
    "h": 308.3
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#9546CC
secondary
#B2D49A
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546CC

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

Preview Lab → · Contrast checker → · Palette generator →

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