#9546D4#9546D4

#9546D4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.211 H 306.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9546D4
RGBrgb(149, 70, 212)
HSLhsl(273, 62%, 55%)
HSVhsv(273, 67%, 83%)
CMYKcmyk(29.7%, 67%, 0%, 16.9%)
CIE-LABlab(46.34, 57.78, -59.94)
CIE-LCHlch(46.34, 83.25, 313.95°)
OKLaboklab(56.28% 0.1246 -0.1699)
OKLCHoklch(56.28% 0.211 306.2)
XYZxyz(26.4657, 15.5236, 63.8767)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9546D4 #85D446
analogous
#4E46D4 #9546D4 #D446CC
triadic
#9546D4 #D49546 #46D495
tetradic
#9546D4 #D44E46 #85D446 #46CCD4
square
#9546D4 #D44E46 #85D446 #46CCD4
split-complementary
#9546D4 #CCD446 #46D44E
monochromatic
#551E81 #762AB3 #9546D4 #B178E0 #CEA9EB

Accessibility & contrast

On white

5.12
#9546D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9546D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9546D4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9546D4#FFFFFF#000000##FFFFFF
##9546D41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#1E6ED1
Tritanopia (blue-blind)
#8A6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9546d4;
/* rgb */ color: rgb(149, 70, 212);
/* oklch */ color: oklch(56.3% 0.211 306.2);
Tailwind
colors: {
  custom: {
    50: '#b97fe2',
    500: '#9546d4',
    950: '#000000',
  },
}
SCSS
$custom: #9546d4;
$custom-light: #b97fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9546d4",
  "rgb": {
    "r": 149,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 273.38,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.21073,
    "h": 306.2
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#9546D4
secondary
#B8D99D
accent
#E5428B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9546D4

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

Preview Lab → · Contrast checker → · Palette generator →

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