#9545CA#9545CA

#9545CA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.202 H 308.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9545CA
RGBrgb(149, 69, 202)
HSLhsl(276, 56%, 53%)
HSVhsv(276, 66%, 79%)
CMYKcmyk(26.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(45.51, 56.00, -55.53)
CIE-LCHlch(45.51, 78.86, 315.24°)
OKLaboklab(55.47% 0.1266 -0.157)
OKLCHoklch(55.47% 0.202 308.9)
XYZxyz(25.1811, 14.9105, 57.4171)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CA #7ACA45
analogous
#5245CA #9545CA #CA45BD
triadic
#9545CA #CA9545 #45CA95
tetradic
#9545CA #CA5245 #7ACA45 #45BDCA
square
#9545CA #CA5245 #7ACA45 #45BDCA
split-complementary
#9545CA #BDCA45 #45CA52
monochromatic
#532174 #752FA3 #9545CA #B075D8 #CBA4E5

Accessibility & contrast

On white

5.27
#9545CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9545CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CA#FFFFFF#000000##FFFFFF
##9545CA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#8D6182
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9545ca;
/* rgb */ color: rgb(149, 69, 202);
/* oklch */ color: oklch(55.5% 0.202 308.9);
Tailwind
colors: {
  custom: {
    50: '#b87edb',
    500: '#9545ca',
    950: '#000000',
  },
}
SCSS
$custom: #9545ca;
$custom-light: #b87edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9545ca",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 276.09,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.20169,
    "h": 308.9
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#9545CA
secondary
#B0D299
accent
#DF4985
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545CA

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

Preview Lab → · Contrast checker → · Palette generator →

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