#9545CB#9545CB

#9545CB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.203 H 308.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9545CB
RGBrgb(149, 69, 203)
HSLhsl(276, 56%, 53%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.6%, 66%, 0%, 20.4%)
CIE-LABlab(45.58, 56.22, -56.00)
CIE-LCHlch(45.58, 79.35, 315.11°)
OKLaboklab(55.54% 0.1265 -0.1584)
OKLCHoklch(55.54% 0.203 308.6)
XYZxyz(25.2999, 14.9580, 58.0427)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CB #7BCB45
analogous
#5245CB #9545CB #CB45BE
triadic
#9545CB #CB9545 #45CB95
tetradic
#9545CB #CB5245 #7BCB45 #45BECB
square
#9545CB #CB5245 #7BCB45 #45BECB
split-complementary
#9545CB #BECB45 #45CB52
monochromatic
#532175 #752EA5 #9545CB #B075D8 #CCA5E6

Accessibility & contrast

On white

5.26
#9545CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9545CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CB#FFFFFF#000000##FFFFFF
##9545CB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#8D6182
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9545cb;
/* rgb */ color: rgb(149, 69, 203);
/* oklch */ color: oklch(55.5% 0.203 308.6);
Tailwind
colors: {
  custom: {
    50: '#b87edc',
    500: '#9545cb',
    950: '#000000',
  },
}
SCSS
$custom: #9545cb;
$custom-light: #b87edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9545cb",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 275.821,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.20272,
    "h": 308.6
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#9545CB
secondary
#B0D399
accent
#E04885
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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