#9B41DE#9B41DE

#9B41DE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.228 H 306.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9B41DE
RGBrgb(155, 65, 222)
HSLhsl(274, 70%, 56%)
HSVhsv(274, 71%, 87%)
CMYKcmyk(30.2%, 70.7%, 0%, 12.9%)
CIE-LABlab(47.01, 63.44, -64.54)
CIE-LCHlch(47.01, 90.50, 314.51°)
OKLaboklab(57.14% 0.1363 -0.1832)
OKLCHoklch(57.14% 0.228 306.6)
XYZxyz(28.5898, 16.0234, 70.6798)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B41DE #84DE41
analogous
#4D41DE #9B41DE #DE41D3
triadic
#9B41DE #DE9B41 #41DE9B
tetradic
#9B41DE #DE4D41 #84DE41 #41D3DE
square
#9B41DE #DE4D41 #84DE41 #41D3DE
split-complementary
#9B41DE #D3DE41 #41DE4D
monochromatic
#5B188C #7D21C0 #9B41DE #B675E7 #D2A9F0

Accessibility & contrast

On white

4.99
#9B41DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9B41DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B41DE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B41DE#FFFFFF#000000##FFFFFF
##9B41DE1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#90658B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b41de;
/* rgb */ color: rgb(155, 65, 222);
/* oklch */ color: oklch(57.1% 0.228 306.6);
Tailwind
colors: {
  custom: {
    50: '#be7de9',
    500: '#9b41de',
    950: '#000000',
  },
}
SCSS
$custom: #9b41de;
$custom-light: #be7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b41de",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 274.395,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.22839,
    "h": 306.6
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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