#9545CD#9545CD

#9545CD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.205 H 308.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9545CD
RGBrgb(149, 69, 205)
HSLhsl(275, 58%, 54%)
HSVhsv(275, 66%, 80%)
CMYKcmyk(27.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.71, 56.67, -56.94)
CIE-LCHlch(45.71, 80.33, 314.86°)
OKLaboklab(55.68% 0.1264 -0.1611)
OKLCHoklch(55.68% 0.205 308.1)
XYZxyz(25.5397, 15.0540, 59.3060)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CD #7DCD45
analogous
#5145CD #9545CD #CD45C1
triadic
#9545CD #CD9545 #45CD95
tetradic
#9545CD #CD5145 #7DCD45 #45C1CD
square
#9545CD #CD5145 #7DCD45 #45C1CD
split-complementary
#9545CD #C1CD45 #45CD51
monochromatic
#542077 #752DA8 #9545CD #B075DA #CCA5E7

Accessibility & contrast

On white

5.24
#9545CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9545CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CD#FFFFFF#000000##FFFFFF
##9545CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#8C6283
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9545cd;
/* rgb */ color: rgb(149, 69, 205);
/* oklch */ color: oklch(55.7% 0.205 308.1);
Tailwind
colors: {
  custom: {
    50: '#b87edd',
    500: '#9545cd',
    950: '#000000',
  },
}
SCSS
$custom: #9545cd;
$custom-light: #b87edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9545cd",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 275.294,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.20478,
    "h": 308.1
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#9545CD
secondary
#B2D49A
accent
#E14786
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545CD

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

Preview Lab → · Contrast checker → · Palette generator →

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