#9541D8#9541D8

#9541D8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.221 H 305.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9541D8
RGBrgb(149, 65, 216)
HSLhsl(273, 66%, 55%)
HSVhsv(273, 70%, 85%)
CMYKcmyk(31%, 69.9%, 0%, 15.3%)
CIE-LABlab(45.81, 60.95, -63.09)
CIE-LCHlch(45.81, 87.72, 314.01°)
OKLaboklab(55.99% 0.1293 -0.1792)
OKLCHoklch(55.99% 0.221 305.8)
XYZxyz(26.6767, 15.1282, 66.4671)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D8 #84D841
analogous
#4941D8 #9541D8 #D841D0
triadic
#9541D8 #D89541 #41D895
tetradic
#9541D8 #D84941 #84D841 #41D0D8
square
#9541D8 #D84941 #84D841 #41D0D8
split-complementary
#9541D8 #D0D841 #41D849
monochromatic
#551B84 #7625B6 #9541D8 #B174E2 #CEA7ED

Accessibility & contrast

On white

5.22
#9541D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9541D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D8#FFFFFF#000000##FFFFFF
##9541D81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#896488
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9541d8;
/* rgb */ color: rgb(149, 65, 216);
/* oklch */ color: oklch(56.0% 0.221 305.8);
Tailwind
colors: {
  custom: {
    50: '#b97ce5',
    500: '#9541d8',
    950: '#000000',
  },
}
SCSS
$custom: #9541d8;
$custom-light: #b97ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d8",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 273.377,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.22096,
    "h": 305.8
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#9541D8
secondary
#B7DA9B
accent
#E93F8A
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9541D8

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

Preview Lab → · Contrast checker → · Palette generator →

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