#9541D9#9541D9

#9541D9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.222 H 305.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9541D9
RGBrgb(149, 65, 217)
HSLhsl(273, 67%, 55%)
HSVhsv(273, 70%, 85%)
CMYKcmyk(31.3%, 70%, 0%, 14.9%)
CIE-LABlab(45.88, 61.17, -63.55)
CIE-LCHlch(45.88, 88.21, 313.91°)
OKLaboklab(56.06% 0.1291 -0.1805)
OKLCHoklch(56.06% 0.222 305.6)
XYZxyz(26.8063, 15.1801, 67.1500)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D9 #85D941
analogous
#4941D9 #9541D9 #D941D1
triadic
#9541D9 #D99541 #41D995
tetradic
#9541D9 #D94941 #85D941 #41D1D9
square
#9541D9 #D94941 #85D941 #41D1D9
split-complementary
#9541D9 #D1D941 #41D949
monochromatic
#551B85 #7625B8 #9541D9 #B174E3 #CEA7ED

Accessibility & contrast

On white

5.20
#9541D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9541D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D9#FFFFFF#000000##FFFFFF
##9541D91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#896489
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9541d9;
/* rgb */ color: rgb(149, 65, 217);
/* oklch */ color: oklch(56.1% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#b97ce6',
    500: '#9541d9',
    950: '#000000',
  },
}
SCSS
$custom: #9541d9;
$custom-light: #b97ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d9",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 273.158,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.22197,
    "h": 305.6
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#9541D9
secondary
#B8DB9B
accent
#EA3E8B
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9541D9

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

Preview Lab → · Contrast checker → · Palette generator →

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