#9545CE#9545CE

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

Color values

HEX#9545CE
RGBrgb(149, 69, 206)
HSLhsl(275, 58%, 54%)
HSVhsv(275, 67%, 81%)
CMYKcmyk(27.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(45.77, 56.89, -57.41)
CIE-LCHlch(45.77, 80.82, 314.74°)
OKLaboklab(55.74% 0.1263 -0.1625)
OKLCHoklch(55.74% 0.206 307.8)
XYZxyz(25.6608, 15.1024, 59.9438)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CE #7ECE45
analogous
#5145CE #9545CE #CE45C3
triadic
#9545CE #CE9545 #45CE95
tetradic
#9545CE #CE5145 #7ECE45 #45C3CE
square
#9545CE #CE5145 #7ECE45 #45C3CE
split-complementary
#9545CE #C3CE45 #45CE51
monochromatic
#542079 #752DA9 #9545CE #B175DB #CCA6E8

Accessibility & contrast

On white

5.22
#9545CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9545CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CE#FFFFFF#000000##FFFFFF
##9545CE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#8C6284
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9545ce;
/* rgb */ color: rgb(149, 69, 206);
/* oklch */ color: oklch(55.7% 0.206 307.8);
Tailwind
colors: {
  custom: {
    50: '#b87ede',
    500: '#9545ce',
    950: '#000000',
  },
}
SCSS
$custom: #9545ce;
$custom-light: #b87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9545ce",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 275.036,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.20581,
    "h": 307.8
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#9545CE
secondary
#B2D59A
accent
#E24687
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9545CE

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

Preview Lab → · Contrast checker → · Palette generator →

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