#9545D1#9545D1

#9545D1 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.209 H 307.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9545D1
RGBrgb(149, 69, 209)
HSLhsl(274, 60%, 55%)
HSVhsv(274, 67%, 82%)
CMYKcmyk(28.7%, 67%, 0%, 18%)
CIE-LABlab(45.97, 57.56, -58.81)
CIE-LCHlch(45.97, 82.30, 314.39°)
OKLaboklab(55.95% 0.126 -0.1666)
OKLCHoklch(55.95% 0.209 307.1)
XYZxyz(26.0287, 15.2496, 61.8815)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D1 #81D145
analogous
#4F45D1 #9545D1 #D145C7
triadic
#9545D1 #D19545 #45D195
tetradic
#9545D1 #D14F45 #81D145 #45C7D1
square
#9545D1 #D14F45 #81D145 #45C7D1
split-complementary
#9545D1 #C7D145 #45D14F
monochromatic
#551F7D #762BAE #9545D1 #B176DD #CDA7E9

Accessibility & contrast

On white

5.19
#9545D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9545D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D1#FFFFFF#000000##FFFFFF
##9545D11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#226ECE
Tritanopia (blue-blind)
#8B6385
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9545d1;
/* rgb */ color: rgb(149, 69, 209);
/* oklch */ color: oklch(56.0% 0.209 307.1);
Tailwind
colors: {
  custom: {
    50: '#b97ee0',
    500: '#9545d1',
    950: '#000000',
  },
}
SCSS
$custom: #9545d1;
$custom-light: #b97ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d1",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 274.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.20891,
    "h": 307.1
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#9545D1
secondary
#B5D79B
accent
#E34489
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545D1

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

Preview Lab → · Contrast checker → · Palette generator →

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