#9545D9#9545D9

#9545D9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.217 H 305.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9545D9
RGBrgb(149, 69, 217)
HSLhsl(272, 66%, 56%)
HSVhsv(272, 68%, 85%)
CMYKcmyk(31.3%, 68.2%, 0%, 14.9%)
CIE-LABlab(46.52, 59.38, -62.51)
CIE-LCHlch(46.52, 86.22, 313.53°)
OKLaboklab(56.51% 0.1251 -0.1775)
OKLCHoklch(56.51% 0.217 305.2)
XYZxyz(27.0441, 15.6557, 67.2293)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D9 #89D945
analogous
#4B45D9 #9545D9 #D945D3
triadic
#9545D9 #D99545 #45D995
tetradic
#9545D9 #D94B45 #89D945 #45D3D9
square
#9545D9 #D94B45 #89D945 #45D3D9
split-complementary
#9545D9 #D3D945 #45D94B
monochromatic
#561C88 #7626BB #9545D9 #B278E3 #CFABEE

Accessibility & contrast

On white

5.08
#9545D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9545D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D9#FFFFFF#000000##FFFFFF
##9545D91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0B6ED6
Tritanopia (blue-blind)
#89668A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9545d9;
/* rgb */ color: rgb(149, 69, 217);
/* oklch */ color: oklch(56.5% 0.217 305.2);
Tailwind
colors: {
  custom: {
    50: '#b97ee6',
    500: '#9545d9',
    950: '#000000',
  },
}
SCSS
$custom: #9545d9;
$custom-light: #b97ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d9",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 272.432,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.21715,
    "h": 305.2
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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