#9541D7#9541D7

#9541D7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.220 H 306.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9541D7
RGBrgb(149, 65, 215)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 70%, 84%)
CMYKcmyk(30.7%, 69.8%, 0%, 15.7%)
CIE-LABlab(45.74, 60.72, -62.63)
CIE-LCHlch(45.74, 87.24, 314.11°)
OKLaboklab(55.91% 0.1294 -0.1778)
OKLCHoklch(55.91% 0.22 306)
XYZxyz(26.5478, 15.0767, 65.7883)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D7 #83D741
analogous
#4A41D7 #9541D7 #D741CE
triadic
#9541D7 #D79541 #41D795
tetradic
#9541D7 #D74A41 #83D741 #41CED7
square
#9541D7 #D74A41 #83D741 #41CED7
split-complementary
#9541D7 #CED741 #41D74A
monochromatic
#551B82 #7626B5 #9541D7 #B174E2 #CDA6EC

Accessibility & contrast

On white

5.23
#9541D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9541D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D7#FFFFFF#000000##FFFFFF
##9541D71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#036DD4
Tritanopia (blue-blind)
#896388
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9541d7;
/* rgb */ color: rgb(149, 65, 215);
/* oklch */ color: oklch(55.9% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#b97ce4',
    500: '#9541d7',
    950: '#000000',
  },
}
SCSS
$custom: #9541d7;
$custom-light: #b97ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d7",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 273.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.21995,
    "h": 306
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#9541D7
secondary
#B6D99A
accent
#E8408A
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9541D7

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

Preview Lab → · Contrast checker → · Palette generator →

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