#9B41D2#9B41D2

#9B41D2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.217 H 309.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B41D2
RGBrgb(155, 65, 210)
HSLhsl(277, 62%, 54%)
HSVhsv(277, 69%, 82%)
CMYKcmyk(26.2%, 69%, 0%, 17.6%)
CIE-LABlab(46.18, 60.82, -59.01)
CIE-LCHlch(46.18, 84.74, 315.86°)
OKLaboklab(56.29% 0.1379 -0.167)
OKLCHoklch(56.29% 0.217 309.6)
XYZxyz(27.0384, 15.4028, 62.5089)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41D2 #78D241
analogous
#5341D2 #9B41D2 #D241C1
triadic
#9B41D2 #D29B41 #41D29B
tetradic
#9B41D2 #D25341 #78D241 #41C1D2
square
#9B41D2 #D25341 #78D241 #41C1D2
split-complementary
#9B41D2 #C1D241 #41D253
monochromatic
#581D7B #7B29AD #9B41D2 #B572DE #CFA4E9

Accessibility & contrast

On white

5.15
#9B41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41D2#FFFFFF#000000##FFFFFF
##9B41D21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#936185
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b41d2;
/* rgb */ color: rgb(155, 65, 210);
/* oklch */ color: oklch(56.3% 0.217 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd7de1',
    500: '#9b41d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b41d2;
$custom-light: #bd7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41d2",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 277.241,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.2166,
    "h": 309.6
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#9B41D2
secondary
#B0D698
accent
#E54380
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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