#9B41EA#9B41EA

#9B41EA is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.240 H 304.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9B41EA
RGBrgb(155, 65, 234)
HSLhsl(272, 80%, 59%)
HSVhsv(272, 72%, 92%)
CMYKcmyk(33.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(47.87, 66.11, -69.94)
CIE-LCHlch(47.87, 96.24, 313.39°)
OKLaboklab(58.02% 0.1343 -0.1991)
OKLCHoklch(58.02% 0.24 304)
XYZxyz(30.2557, 16.6897, 79.4534)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41EA #90EA41
analogous
#4641EA #9B41EA #EA41E4
triadic
#9B41EA #EA9B41 #41EA9B
tetradic
#9B41EA #EA4641 #90EA41 #41E4EA
square
#9B41EA #EA4641 #90EA41 #41E4EA
split-complementary
#9B41EA #E4EA41 #41EA46
monochromatic
#5D129F #7D18D6 #9B41EA #B878F0 #D5AFF6

Accessibility & contrast

On white

4.84
#9B41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41EA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41EA#FFFFFF#000000##FFFFFF
##9B41EA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#8C6A92
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b41ea;
/* rgb */ color: rgb(155, 65, 234);
/* oklch */ color: oklch(58.0% 0.240 304.0);
Tailwind
colors: {
  custom: {
    50: '#bf7df2',
    500: '#9b41ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b41ea;
$custom-light: #bf7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41ea",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 271.953,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.24017,
    "h": 304
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#9B41EA
secondary
#C1E5A2
accent
#F7318D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9B41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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