#9545D3#9545D3

#9545D3 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.211 H 306.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9545D3
RGBrgb(149, 69, 211)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(29.4%, 67.3%, 0%, 17.3%)
CIE-LABlab(46.11, 58.02, -59.74)
CIE-LCHlch(46.11, 83.28, 314.16°)
OKLaboklab(56.09% 0.1258 -0.1694)
OKLCHoklch(56.09% 0.211 306.6)
XYZxyz(26.2779, 15.3492, 63.1937)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D3 #83D345
analogous
#4E45D3 #9545D3 #D345CA
triadic
#9545D3 #D39545 #45D395
tetradic
#9545D3 #D34E45 #83D345 #45CAD3
square
#9545D3 #D34E45 #83D345 #45CAD3
split-complementary
#9545D3 #CAD345 #45D34E
monochromatic
#551E7F #762AB1 #9545D3 #B176DF #CDA8EA

Accessibility & contrast

On white

5.16
#9545D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9545D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D3#FFFFFF#000000##FFFFFF
##9545D31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#1E6ED0
Tritanopia (blue-blind)
#8B6487
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9545d3;
/* rgb */ color: rgb(149, 69, 211);
/* oklch */ color: oklch(56.1% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#b97ee1',
    500: '#9545d3',
    950: '#000000',
  },
}
SCSS
$custom: #9545d3;
$custom-light: #b97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d3",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 273.803,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.21097,
    "h": 306.6
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#9545D3
secondary
#B6D89C
accent
#E5438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545D3

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

Preview Lab → · Contrast checker → · Palette generator →

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