#9545C8#9545C8

#9545C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.3% C 0.200 H 309.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9545C8
RGBrgb(149, 69, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 66%, 78%)
CMYKcmyk(25.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(45.38, 55.55, -54.58)
CIE-LCHlch(45.38, 77.88, 315.51°)
OKLaboklab(55.34% 0.1268 -0.1542)
OKLCHoklch(55.34% 0.2 309.4)
XYZxyz(24.9458, 14.8164, 56.1781)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545C8 #78C845
analogous
#5345C8 #9545C8 #C845BA
triadic
#9545C8 #C89545 #45C895
tetradic
#9545C8 #C85345 #78C845 #45BAC8
square
#9545C8 #C85345 #78C845 #45BAC8
split-complementary
#9545C8 #BAC845 #45C853
monochromatic
#522171 #742FA0 #9545C8 #B074D6 #CBA3E4

Accessibility & contrast

On white

5.30
#9545C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9545C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545C8#FFFFFF#000000##FFFFFF
##9545C81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#8E6081
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9545c8;
/* rgb */ color: rgb(149, 69, 200);
/* oklch */ color: oklch(55.3% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#b87ed9',
    500: '#9545c8',
    950: '#000000',
  },
}
SCSS
$custom: #9545c8;
$custom-light: #b87ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9545c8",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 276.641,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.19963,
    "h": 309.4
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#9545C8
secondary
#AED198
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9545C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva