#9545E6#9545E6

#9545E6 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.5% C 0.231 H 302.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9545E6
RGBrgb(149, 69, 230)
HSLhsl(270, 76%, 59%)
HSVhsv(270, 70%, 90%)
CMYKcmyk(35.2%, 70%, 0%, 9.8%)
CIE-LABlab(47.44, 62.38, -68.41)
CIE-LCHlch(47.44, 92.58, 312.36°)
OKLaboklab(57.46% 0.1232 -0.1948)
OKLCHoklch(57.46% 0.231 302.3)
XYZxyz(28.8021, 16.3589, 76.4878)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9545E6 #96E645
analogous
#4545E6 #9545E6 #E645E6
triadic
#9545E6 #E69545 #45E695
tetradic
#9545E6 #E64545 #96E645 #45E6E6
square
#9545E6 #E64545 #96E645 #45E6E6
split-complementary
#9545E6 #E6E645 #45E645
monochromatic
#58159C #761CD2 #9545E6 #B47BED #D2B1F5

Accessibility & contrast

On white

4.92
#9545E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9545E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9545E6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9545E6#FFFFFF#000000##FFFFFF
##9545E61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#846C91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9545e6;
/* rgb */ color: rgb(149, 69, 230);
/* oklch */ color: oklch(57.5% 0.231 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fef',
    500: '#9545e6',
    950: '#000000',
  },
}
SCSS
$custom: #9545e6;
$custom-light: #ba7fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9545e6",
  "rgb": {
    "r": 149,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 269.814,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.23051,
    "h": 302.3
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#9545E6
secondary
#C4E3A4
accent
#F33594
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9545E6

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

Preview Lab → · Contrast checker → · Palette generator →

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