#9546D2#9546D2

#9546D2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.209 H 306.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9546D2
RGBrgb(149, 70, 210)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 67%, 82%)
CMYKcmyk(29%, 66.7%, 0%, 17.6%)
CIE-LABlab(46.21, 57.33, -59.01)
CIE-LCHlch(46.21, 82.27, 314.17°)
OKLaboklab(56.14% 0.1248 -0.1672)
OKLCHoklch(56.14% 0.209 306.7)
XYZxyz(26.2150, 15.4233, 62.5562)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D2 #83D246
analogous
#4F46D2 #9546D2 #D246C9
triadic
#9546D2 #D29546 #46D295
tetradic
#9546D2 #D24F46 #83D246 #46C9D2
square
#9546D2 #D24F46 #83D246 #46C9D2
split-complementary
#9546D2 #C9D246 #46D24F
monochromatic
#551F7F #762BB0 #9546D2 #B177DE #CDA8EA

Accessibility & contrast

On white

5.14
#9546D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9546D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D2#FFFFFF#000000##FFFFFF
##9546D21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#8B6486
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9546d2;
/* rgb */ color: rgb(149, 70, 210);
/* oklch */ color: oklch(56.1% 0.209 306.7);
Tailwind
colors: {
  custom: {
    50: '#b97fe1',
    500: '#9546d2',
    950: '#000000',
  },
}
SCSS
$custom: #9546d2;
$custom-light: #b97fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d2",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 273.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.20866,
    "h": 306.7
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#9546D2
secondary
#B6D79C
accent
#E4448A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546D2

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

Preview Lab → · Contrast checker → · Palette generator →

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