#9541D6#9541D6

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

Color values

HEX#9541D6
RGBrgb(149, 65, 214)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 70%, 84%)
CMYKcmyk(30.4%, 69.6%, 0%, 16.1%)
CIE-LABlab(45.67, 60.50, -62.17)
CIE-LCHlch(45.67, 86.75, 314.22°)
OKLaboklab(55.84% 0.1296 -0.1765)
OKLCHoklch(55.84% 0.219 306.3)
XYZxyz(26.4197, 15.0255, 65.1137)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D6 #82D641
analogous
#4B41D6 #9541D6 #D641CC
triadic
#9541D6 #D69541 #41D695
tetradic
#9541D6 #D64B41 #82D641 #41CCD6
square
#9541D6 #D64B41 #82D641 #41CCD6
split-complementary
#9541D6 #CCD641 #41D64B
monochromatic
#551C81 #7627B3 #9541D6 #B173E1 #CDA6EC

Accessibility & contrast

On white

5.24
#9541D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9541D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D6#FFFFFF#000000##FFFFFF
##9541D61.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#096DD3
Tritanopia (blue-blind)
#8A6387
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9541d6;
/* rgb */ color: rgb(149, 65, 214);
/* oklch */ color: oklch(55.8% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#b97ce3',
    500: '#9541d6',
    950: '#000000',
  },
}
SCSS
$custom: #9541d6;
$custom-light: #b97ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d6",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 273.826,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.21895,
    "h": 306.3
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#9541D6
secondary
#B5D99A
accent
#E74089
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9541D6

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

Preview Lab → · Contrast checker → · Palette generator →

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