#9541D5#9541D5

#9541D5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.218 H 306.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9541D5
RGBrgb(149, 65, 213)
HSLhsl(274, 64%, 55%)
HSVhsv(274, 69%, 84%)
CMYKcmyk(30%, 69.5%, 0%, 16.5%)
CIE-LABlab(45.60, 60.27, -61.71)
CIE-LCHlch(45.60, 86.26, 314.32°)
OKLaboklab(55.77% 0.1297 -0.1751)
OKLCHoklch(55.77% 0.218 306.5)
XYZxyz(26.2924, 14.9745, 64.4432)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D5 #81D541
analogous
#4B41D5 #9541D5 #D541CB
triadic
#9541D5 #D59541 #41D595
tetradic
#9541D5 #D54B41 #81D541 #41CBD5
square
#9541D5 #D54B41 #81D541 #41CBD5
split-complementary
#9541D5 #CBD541 #41D54B
monochromatic
#551C7F #7627B2 #9541D5 #B173E0 #CDA5EB

Accessibility & contrast

On white

5.26
#9541D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9541D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D5#FFFFFF#000000##FFFFFF
##9541D51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0D6CD2
Tritanopia (blue-blind)
#8A6386
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9541d5;
/* rgb */ color: rgb(149, 65, 213);
/* oklch */ color: oklch(55.8% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#b97ce3',
    500: '#9541d5',
    950: '#000000',
  },
}
SCSS
$custom: #9541d5;
$custom-light: #b97ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d5",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 274.054,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.21794,
    "h": 306.5
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#9541D5
secondary
#B5D89A
accent
#E74189
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9541D5

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

Preview Lab → · Contrast checker → · Palette generator →

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