#9541D2#9541D2

#9541D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.215 H 307.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9541D2
RGBrgb(149, 65, 210)
HSLhsl(275, 62%, 54%)
HSVhsv(275, 69%, 82%)
CMYKcmyk(29%, 69%, 0%, 17.6%)
CIE-LABlab(45.39, 59.60, -60.33)
CIE-LCHlch(45.39, 84.81, 314.65°)
OKLaboklab(55.56% 0.1301 -0.1711)
OKLCHoklch(55.56% 0.215 307.3)
XYZxyz(25.9151, 14.8236, 62.4563)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541D2 #7ED241
analogous
#4D41D2 #9541D2 #D241C6
triadic
#9541D2 #D29541 #41D295
tetradic
#9541D2 #D24D41 #7ED241 #41C6D2
square
#9541D2 #D24D41 #7ED241 #41C6D2
split-complementary
#9541D2 #C6D241 #41D24D
monochromatic
#541D7B #7529AD #9541D2 #B172DE #CCA4E9

Accessibility & contrast

On white

5.30
#9541D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9541D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541D2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541D2#FFFFFF#000000##FFFFFF
##9541D21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#186CCF
Tritanopia (blue-blind)
#8B6185
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9541d2;
/* rgb */ color: rgb(149, 65, 210);
/* oklch */ color: oklch(55.6% 0.215 307.3);
Tailwind
colors: {
  custom: {
    50: '#b97ce1',
    500: '#9541d2',
    950: '#000000',
  },
}
SCSS
$custom: #9541d2;
$custom-light: #b97ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9541d2",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 274.759,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.21493,
    "h": 307.3
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#9541D2
secondary
#B2D698
accent
#E54387
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541D2

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

Preview Lab → · Contrast checker → · Palette generator →

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