#9541D3#9541D3

#9541D3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.216 H 307.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9541D3
RGBrgb(149, 65, 211)
HSLhsl(275, 62%, 54%)
HSVhsv(275, 69%, 83%)
CMYKcmyk(29.4%, 69.2%, 0%, 17.3%)
CIE-LABlab(45.46, 59.83, -60.79)
CIE-LCHlch(45.46, 85.29, 314.54°)
OKLaboklab(55.63% 0.13 -0.1724)
OKLCHoklch(55.63% 0.216 307)
XYZxyz(26.0401, 14.8736, 63.1145)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D3 #7FD341
analogous
#4C41D3 #9541D3 #D341C8
triadic
#9541D3 #D39541 #41D395
tetradic
#9541D3 #D34C41 #7FD341 #41C8D3
square
#9541D3 #D34C41 #7FD341 #41C8D3
split-complementary
#9541D3 #C8D341 #41D34C
monochromatic
#541D7D #7528AE #9541D3 #B173DF #CCA4EA

Accessibility & contrast

On white

5.28
#9541D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9541D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D3#FFFFFF#000000##FFFFFF
##9541D31.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#156CD0
Tritanopia (blue-blind)
#8B6285
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9541d3;
/* rgb */ color: rgb(149, 65, 211);
/* oklch */ color: oklch(55.6% 0.216 307.0);
Tailwind
colors: {
  custom: {
    50: '#b97ce1',
    500: '#9541d3',
    950: '#000000',
  },
}
SCSS
$custom: #9541d3;
$custom-light: #b97ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d3",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 274.521,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.21593,
    "h": 307
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#9541D3
secondary
#B3D799
accent
#E54288
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541D3

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

Preview Lab → · Contrast checker → · Palette generator →

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