#9546CD#9546CD

#9546CD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.203 H 308.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9546CD
RGBrgb(149, 70, 205)
HSLhsl(275, 57%, 54%)
HSVhsv(275, 66%, 80%)
CMYKcmyk(27.3%, 65.9%, 0%, 19.6%)
CIE-LABlab(45.88, 56.20, -56.67)
CIE-LCHlch(45.88, 79.81, 314.76°)
OKLaboklab(55.8% 0.1253 -0.1603)
OKLCHoklch(55.8% 0.203 308)
XYZxyz(25.6018, 15.1780, 59.3267)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546CD #7ECD46
analogous
#5246CD #9546CD #CD46C2
triadic
#9546CD #CD9546 #46CD95
tetradic
#9546CD #CD5246 #7ECD46 #46C2CD
square
#9546CD #CD5246 #7ECD46 #46C2CD
split-complementary
#9546CD #C2CD46 #46CD52
monochromatic
#542078 #752DA8 #9546CD #B176DA #CCA6E7

Accessibility & contrast

On white

5.20
#9546CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9546CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546CD#FFFFFF#000000##FFFFFF
##9546CD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#2B6DCA
Tritanopia (blue-blind)
#8C6384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9546cd;
/* rgb */ color: rgb(149, 70, 205);
/* oklch */ color: oklch(55.8% 0.203 308.0);
Tailwind
colors: {
  custom: {
    50: '#b87fdd',
    500: '#9546cd',
    950: '#000000',
  },
}
SCSS
$custom: #9546cd;
$custom-light: #b87fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9546cd",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 275.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.20347,
    "h": 308
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#9546CD
secondary
#B2D49B
accent
#E14787
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546CD

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

Preview Lab → · Contrast checker → · Palette generator →

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