#9B41CD#9B41CD

#9B41CD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.212 H 310.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9B41CD
RGBrgb(155, 65, 205)
HSLhsl(279, 58%, 53%)
HSVhsv(279, 68%, 80%)
CMYKcmyk(24.4%, 68.3%, 0%, 19.6%)
CIE-LABlab(45.85, 59.74, -56.67)
CIE-LCHlch(45.85, 82.35, 316.51°)
OKLaboklab(55.95% 0.1385 -0.1601)
OKLCHoklch(55.95% 0.212 310.8)
XYZxyz(26.4252, 15.1575, 59.2794)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41CD #73CD41
analogous
#5541CD #9B41CD #CD41B9
triadic
#9B41CD #CD9B41 #41CD9B
tetradic
#9B41CD #CD5541 #73CD41 #41B9CD
square
#9B41CD #CD5541 #73CD41 #41B9CD
split-complementary
#9B41CD #B9CD41 #41CD55
monochromatic
#561F75 #7A2CA5 #9B41CD #B471DA #CEA2E6

Accessibility & contrast

On white

5.21
#9B41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9B41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41CD#FFFFFF#000000##FFFFFF
##9B41CD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#945F82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b41cd;
/* rgb */ color: rgb(155, 65, 205);
/* oklch */ color: oklch(55.9% 0.212 310.8);
Tailwind
colors: {
  custom: {
    50: '#bd7cdd',
    500: '#9b41cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b41cd;
$custom-light: #bd7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41cd",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 278.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.21169,
    "h": 310.8
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#9B41CD
secondary
#ACD397
accent
#E2467E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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