#9541EA#9541EA

#9541EA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.3% C 0.239 H 301.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9541EA
RGBrgb(149, 65, 234)
HSLhsl(270, 80%, 59%)
HSVhsv(270, 72%, 92%)
CMYKcmyk(36.3%, 72.2%, 0%, 8.2%)
CIE-LABlab(47.12, 65.05, -71.19)
CIE-LCHlch(47.12, 96.44, 312.42°)
OKLaboklab(57.33% 0.1262 -0.203)
OKLCHoklch(57.33% 0.239 301.9)
XYZxyz(29.1324, 16.1105, 79.4008)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541EA #96EA41
analogous
#4141EA #9541EA #E941EA
triadic
#9541EA #EA9541 #41EA95
tetradic
#9541EA #EA4141 #96EA41 #41EAE9
square
#9541EA #EA4141 #96EA41 #41EAE9
split-complementary
#9541EA #EAE941 #41EA41
monochromatic
#58129F #7618D6 #9541EA #B478F0 #D2AFF6

Accessibility & contrast

On white

4.97
#9541EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9541EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541EA#FFFFFF#000000##FFFFFF
##9541EA1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#836B92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9541ea;
/* rgb */ color: rgb(149, 65, 234);
/* oklch */ color: oklch(57.3% 0.239 301.9);
Tailwind
colors: {
  custom: {
    50: '#bb7df2',
    500: '#9541ea',
    950: '#000000',
  },
}
SCSS
$custom: #9541ea;
$custom-light: #bb7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9541ea",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 269.822,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.23902,
    "h": 301.9
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#9541EA
secondary
#C4E5A2
accent
#F73194
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9541EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9541EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva