#9545CC#9545CC

#9545CC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.204 H 308.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9545CC
RGBrgb(149, 69, 204)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(27%, 66.2%, 0%, 20%)
CIE-LABlab(45.64, 56.44, -56.47)
CIE-LCHlch(45.64, 79.84, 314.99°)
OKLaboklab(55.61% 0.1265 -0.1598)
OKLCHoklch(55.61% 0.204 308.4)
XYZxyz(25.4194, 15.0058, 58.6724)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CC #7CCC45
analogous
#5145CC #9545CC #CC45BF
triadic
#9545CC #CC9545 #45CC95
tetradic
#9545CC #CC5145 #7CCC45 #45BFCC
square
#9545CC #CC5145 #7CCC45 #45BFCC
split-complementary
#9545CC #BFCC45 #45CC51
monochromatic
#532076 #752EA6 #9545CC #B075D9 #CCA5E6

Accessibility & contrast

On white

5.25
#9545CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9545CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CC#FFFFFF#000000##FFFFFF
##9545CC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#8D6283
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9545cc;
/* rgb */ color: rgb(149, 69, 204);
/* oklch */ color: oklch(55.6% 0.204 308.4);
Tailwind
colors: {
  custom: {
    50: '#b87edc',
    500: '#9545cc',
    950: '#000000',
  },
}
SCSS
$custom: #9545cc;
$custom-light: #b87edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9545cc",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 275.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.20375,
    "h": 308.4
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#9545CC
secondary
#B1D399
accent
#E04886
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545CC

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

Preview Lab → · Contrast checker → · Palette generator →

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