#9546DB#9546DB

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

Color values

HEX#9546DB
RGBrgb(149, 70, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(32%, 68%, 0%, 14.1%)
CIE-LABlab(46.82, 59.38, -63.16)
CIE-LCHlch(46.82, 86.70, 313.23°)
OKLaboklab(56.78% 0.1238 -0.1794)
OKLCHoklch(56.78% 0.218 304.6)
XYZxyz(27.3679, 15.8845, 68.6283)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546DB #8CDB46
analogous
#4B46DB #9546DB #DB46D7
triadic
#9546DB #DB9546 #46DB95
tetradic
#9546DB #DB4B46 #8CDB46 #46D7DB
square
#9546DB #DB4B46 #8CDB46 #46D7DB
split-complementary
#9546DB #D7DB46 #46DB4B
monochromatic
#571B8B #7725BF #9546DB #B279E5 #D0ACEF

Accessibility & contrast

On white

5.03
#9546DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9546DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546DB#FFFFFF#000000##FFFFFF
##9546DB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#056FD8
Tritanopia (blue-blind)
#88688B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9546db;
/* rgb */ color: rgb(149, 70, 219);
/* oklch */ color: oklch(56.8% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#b97fe7',
    500: '#9546db',
    950: '#000000',
  },
}
SCSS
$custom: #9546db;
$custom-light: #b97fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9546db",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 271.812,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.21798,
    "h": 304.6
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9546DB

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

Preview Lab → · Contrast checker → · Palette generator →

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