#9545D5#9545D5

#9545D5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.213 H 306.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9545D5
RGBrgb(149, 69, 213)
HSLhsl(273, 63%, 55%)
HSVhsv(273, 68%, 84%)
CMYKcmyk(30%, 67.6%, 0%, 16.5%)
CIE-LABlab(46.24, 58.47, -60.67)
CIE-LCHlch(46.24, 84.26, 313.94°)
OKLaboklab(56.23% 0.1256 -0.1721)
OKLCHoklch(56.23% 0.213 306.1)
XYZxyz(26.5302, 15.4501, 64.5224)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545D5 #85D545
analogous
#4D45D5 #9545D5 #D545CD
triadic
#9545D5 #D59545 #45D595
tetradic
#9545D5 #D54D45 #85D545 #45CDD5
square
#9545D5 #D54D45 #85D545 #45CDD5
split-complementary
#9545D5 #CDD545 #45D54D
monochromatic
#551D82 #7629B4 #9545D5 #B177E0 #CEA9EC

Accessibility & contrast

On white

5.13
#9545D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9545D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545D5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545D5#FFFFFF#000000##FFFFFF
##9545D51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#8A6588
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9545d5;
/* rgb */ color: rgb(149, 69, 213);
/* oklch */ color: oklch(56.2% 0.213 306.1);
Tailwind
colors: {
  custom: {
    50: '#b97ee3',
    500: '#9545d5',
    950: '#000000',
  },
}
SCSS
$custom: #9545d5;
$custom-light: #b97ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9545d5",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 273.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.21303,
    "h": 306.1
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#9545D5
secondary
#B8D99D
accent
#E6428B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9545D5

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

Preview Lab → · Contrast checker → · Palette generator →

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