#9B41DF#9B41DF

#9B41DF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.2% C 0.229 H 306.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B41DF
RGBrgb(155, 65, 223)
HSLhsl(274, 71%, 56%)
HSVhsv(274, 71%, 87%)
CMYKcmyk(30.5%, 70.9%, 0%, 12.5%)
CIE-LABlab(47.08, 63.66, -65.00)
CIE-LCHlch(47.08, 90.98, 314.40°)
OKLaboklab(57.21% 0.1362 -0.1846)
OKLCHoklch(57.21% 0.229 306.4)
XYZxyz(28.7243, 16.0772, 71.3877)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41DF #85DF41
analogous
#4C41DF #9B41DF #DF41D4
triadic
#9B41DF #DF9B41 #41DF9B
tetradic
#9B41DF #DF4C41 #85DF41 #41D4DF
square
#9B41DF #DF4C41 #85DF41 #41D4DF
split-complementary
#9B41DF #D4DF41 #41DF4C
monochromatic
#5B188E #7D21C2 #9B41DF #B775E8 #D2AAF1

Accessibility & contrast

On white

4.98
#9B41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9B41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41DF#FFFFFF#000000##FFFFFF
##9B41DF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#8F668C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b41df;
/* rgb */ color: rgb(155, 65, 223);
/* oklch */ color: oklch(57.2% 0.229 306.4);
Tailwind
colors: {
  custom: {
    50: '#be7dea',
    500: '#9b41df',
    950: '#000000',
  },
}
SCSS
$custom: #9b41df;
$custom-light: #be7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41df",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 274.177,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.22937,
    "h": 306.4
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#9B41DF
secondary
#B9DE9D
accent
#EE3A87
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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