#9545CF#9545CF

#9545CF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.207 H 307.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9545CF
RGBrgb(149, 69, 207)
HSLhsl(275, 59%, 54%)
HSVhsv(275, 67%, 81%)
CMYKcmyk(28%, 66.7%, 0%, 18.8%)
CIE-LABlab(45.84, 57.11, -57.88)
CIE-LCHlch(45.84, 81.31, 314.62°)
OKLaboklab(55.81% 0.1262 -0.1639)
OKLCHoklch(55.81% 0.207 307.6)
XYZxyz(25.7827, 15.1511, 60.5856)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545CF #7FCF45
analogous
#5045CF #9545CF #CF45C4
triadic
#9545CF #CF9545 #45CF95
tetradic
#9545CF #CF5045 #7FCF45 #45C4CF
square
#9545CF #CF5045 #7FCF45 #45C4CF
split-complementary
#9545CF #C4CF45 #45CF50
monochromatic
#54207A #752CAB #9545CF #B176DC #CCA6E8

Accessibility & contrast

On white

5.21
#9545CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9545CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545CF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545CF#FFFFFF#000000##FFFFFF
##9545CF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#8C6384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9545cf;
/* rgb */ color: rgb(149, 69, 207);
/* oklch */ color: oklch(55.8% 0.207 307.6);
Tailwind
colors: {
  custom: {
    50: '#b87ede',
    500: '#9545cf',
    950: '#000000',
  },
}
SCSS
$custom: #9545cf;
$custom-light: #b87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9545cf",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 274.783,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.20684,
    "h": 307.6
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9545CF

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

Preview Lab → · Contrast checker → · Palette generator →

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