#9546CB#9546CB

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

Color values

HEX#9546CB
RGBrgb(149, 70, 203)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.6%, 65.5%, 0%, 20.4%)
CIE-LABlab(45.75, 55.75, -55.73)
CIE-LCHlch(45.75, 78.82, 315.01°)
OKLaboklab(55.66% 0.1254 -0.1576)
OKLCHoklch(55.66% 0.201 308.5)
XYZxyz(25.3619, 15.0821, 58.0634)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546CB #7CCB46
analogous
#5246CB #9546CB #CB46BE
triadic
#9546CB #CB9546 #46CB95
tetradic
#9546CB #CB5246 #7CCB46 #46BECB
square
#9546CB #CB5246 #7CCB46 #46BECB
split-complementary
#9546CB #BECB46 #46CB52
monochromatic
#532176 #752EA5 #9546CB #B076D8 #CCA6E6

Accessibility & contrast

On white

5.23
#9546CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9546CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546CB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546CB#FFFFFF#000000##FFFFFF
##9546CB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9546cb;
/* rgb */ color: rgb(149, 70, 203);
/* oklch */ color: oklch(55.7% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#b87fdc',
    500: '#9546cb',
    950: '#000000',
  },
}
SCSS
$custom: #9546cb;
$custom-light: #b87fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9546cb",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 275.639,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.20139,
    "h": 308.5
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#9546CB
secondary
#B1D39A
accent
#DF4886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546CB

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

Preview Lab → · Contrast checker → · Palette generator →

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