#9541D1#9541D1

#9541D1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.214 H 307.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9541D1
RGBrgb(149, 65, 209)
HSLhsl(275, 61%, 54%)
HSVhsv(275, 69%, 82%)
CMYKcmyk(28.7%, 68.9%, 0%, 18%)
CIE-LABlab(45.32, 59.38, -59.86)
CIE-LCHlch(45.32, 84.32, 314.77°)
OKLaboklab(55.48% 0.1302 -0.1697)
OKLCHoklch(55.48% 0.214 307.5)
XYZxyz(25.7909, 14.7739, 61.8022)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D1 #7DD141
analogous
#4D41D1 #9541D1 #D141C5
triadic
#9541D1 #D19541 #41D195
tetradic
#9541D1 #D14D41 #7DD141 #41C5D1
square
#9541D1 #D14D41 #7DD141 #41C5D1
split-complementary
#9541D1 #C5D141 #41D14D
monochromatic
#541E7A #7529AB #9541D1 #B072DD #CCA4E9

Accessibility & contrast

On white

5.31
#9541D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9541D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D1#FFFFFF#000000##FFFFFF
##9541D11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#1A6CCE
Tritanopia (blue-blind)
#8B6184
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9541d1;
/* rgb */ color: rgb(149, 65, 209);
/* oklch */ color: oklch(55.5% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#b97ce0',
    500: '#9541d1',
    950: '#000000',
  },
}
SCSS
$custom: #9541d1;
$custom-light: #b97ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d1",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 275,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.21392,
    "h": 307.5
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#9541D1
secondary
#B2D698
accent
#E44487
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541D1

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

Preview Lab → · Contrast checker → · Palette generator →

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