#9B41DC#9B41DC

#9B41DC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.226 H 307.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B41DC
RGBrgb(155, 65, 220)
HSLhsl(275, 69%, 56%)
HSVhsv(275, 70%, 86%)
CMYKcmyk(29.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(46.87, 63.00, -63.63)
CIE-LCHlch(46.87, 89.54, 314.71°)
OKLaboklab(56.99% 0.1366 -0.1806)
OKLCHoklch(56.99% 0.226 307.1)
XYZxyz(28.3234, 15.9168, 69.2764)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41DC #82DC41
analogous
#4D41DC #9B41DC #DC41CF
triadic
#9B41DC #DC9B41 #41DC9B
tetradic
#9B41DC #DC4D41 #82DC41 #41CFDC
square
#9B41DC #DC4D41 #82DC41 #41CFDC
split-complementary
#9B41DC #CFDC41 #41DC4D
monochromatic
#5A1989 #7C23BD #9B41DC #B675E6 #D1A8EF

Accessibility & contrast

On white

5.02
#9B41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9B41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41DC#FFFFFF#000000##FFFFFF
##9B41DC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0970D9
Tritanopia (blue-blind)
#90658A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b41dc;
/* rgb */ color: rgb(155, 65, 220);
/* oklch */ color: oklch(57.0% 0.226 307.1);
Tailwind
colors: {
  custom: {
    50: '#be7de8',
    500: '#9b41dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b41dc;
$custom-light: #be7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41dc",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 274.839,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.22642,
    "h": 307.1
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#9B41DC
secondary
#B7DD9C
accent
#EC3C86
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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