#9B41D4#9B41D4

#9B41D4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.219 H 309.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B41D4
RGBrgb(155, 65, 212)
HSLhsl(277, 63%, 54%)
HSVhsv(277, 69%, 83%)
CMYKcmyk(26.9%, 69.3%, 0%, 16.9%)
CIE-LABlab(46.32, 61.25, -59.94)
CIE-LCHlch(46.32, 85.70, 315.62°)
OKLaboklab(56.43% 0.1377 -0.1697)
OKLCHoklch(56.43% 0.219 309)
XYZxyz(27.2891, 15.5031, 63.8294)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41D4 #7AD441
analogous
#5241D4 #9B41D4 #D441C3
triadic
#9B41D4 #D49B41 #41D49B
tetradic
#9B41D4 #D45241 #7AD441 #41C3D4
square
#9B41D4 #D45241 #7AD441 #41C3D4
split-complementary
#9B41D4 #C3D441 #41D452
monochromatic
#581D7E #7B28B0 #9B41D4 #B573DF #D0A5EB

Accessibility & contrast

On white

5.12
#9B41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41D4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41D4#FFFFFF#000000##FFFFFF
##9B41D41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#226FD1
Tritanopia (blue-blind)
#936186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b41d4;
/* rgb */ color: rgb(155, 65, 212);
/* oklch */ color: oklch(56.4% 0.219 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd7de2',
    500: '#9b41d4',
    950: '#000000',
  },
}
SCSS
$custom: #9b41d4;
$custom-light: #bd7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41d4",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 276.735,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.21856,
    "h": 309
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#9B41D4
secondary
#B1D899
accent
#E64281
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B41D4

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

Preview Lab → · Contrast checker → · Palette generator →

#9B41D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva