#9545D8#9545D8

#9545D8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.216 H 305.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9545D8
RGBrgb(149, 69, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(31%, 68.1%, 0%, 15.3%)
CIE-LABlab(46.45, 59.15, -62.05)
CIE-LCHlch(46.45, 85.73, 313.63°)
OKLaboklab(56.44% 0.1252 -0.1762)
OKLCHoklch(56.44% 0.216 305.4)
XYZxyz(26.9145, 15.6039, 66.5464)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D8 #88D845
analogous
#4B45D8 #9545D8 #D845D1
triadic
#9545D8 #D89545 #45D895
tetradic
#9545D8 #D84B45 #88D845 #45D1D8
square
#9545D8 #D84B45 #88D845 #45D1D8
split-complementary
#9545D8 #D1D845 #45D84B
monochromatic
#561C86 #7627B9 #9545D8 #B278E3 #CFAAED

Accessibility & contrast

On white

5.10
#9545D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9545D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D8#FFFFFF#000000##FFFFFF
##9545D81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#106ED5
Tritanopia (blue-blind)
#896689
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9545d8;
/* rgb */ color: rgb(149, 69, 216);
/* oklch */ color: oklch(56.4% 0.216 305.4);
Tailwind
colors: {
  custom: {
    50: '#b97ee5',
    500: '#9545d8',
    950: '#000000',
  },
}
SCSS
$custom: #9545d8;
$custom-light: #b97ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d8",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 272.653,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.21611,
    "h": 305.4
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#9545D8
secondary
#BADB9E
accent
#E8408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9545D8

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

Preview Lab → · Contrast checker → · Palette generator →

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