#9B41CB#9B41CB

#9B41CB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.210 H 311.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9B41CB
RGBrgb(155, 65, 203)
HSLhsl(279, 57%, 53%)
HSVhsv(279, 68%, 80%)
CMYKcmyk(23.6%, 68%, 0%, 20.4%)
CIE-LABlab(45.72, 59.32, -55.73)
CIE-LCHlch(45.72, 81.39, 316.79°)
OKLaboklab(55.81% 0.1387 -0.1574)
OKLCHoklch(55.81% 0.21 311.4)
XYZxyz(26.1853, 15.0616, 58.0161)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41CB #71CB41
analogous
#5641CB #9B41CB #CB41B6
triadic
#9B41CB #CB9B41 #41CB9B
tetradic
#9B41CB #CB5641 #71CB41 #41B6CB
square
#9B41CB #CB5641 #71CB41 #41B6CB
split-complementary
#9B41CB #B6CB41 #41CB56
monochromatic
#551F72 #792CA2 #9B41CB #B471D8 #CEA1E5

Accessibility & contrast

On white

5.23
#9B41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41CB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41CB#FFFFFF#000000##FFFFFF
##9B41CB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#955E81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b41cb;
/* rgb */ color: rgb(155, 65, 203);
/* oklch */ color: oklch(55.8% 0.210 311.4);
Tailwind
colors: {
  custom: {
    50: '#bd7cdc',
    500: '#9b41cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b41cb;
$custom-light: #bd7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41cb",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 279.13,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.20974,
    "h": 311.4
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#9B41CB
secondary
#ABD296
accent
#E0487D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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