#9D41DC#9D41DC

#9D41DC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.2% C 0.227 H 307.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D41DC
RGBrgb(157, 65, 220)
HSLhsl(276, 69%, 56%)
HSVhsv(276, 70%, 86%)
CMYKcmyk(28.6%, 70.5%, 0%, 13.7%)
CIE-LABlab(47.13, 63.38, -63.19)
CIE-LCHlch(47.13, 89.50, 315.09°)
OKLaboklab(57.23% 0.1392 -0.1792)
OKLCHoklch(57.23% 0.227 307.8)
XYZxyz(28.7105, 16.1164, 69.2946)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41DC #80DC41
analogous
#4F41DC #9D41DC #DC41CD
triadic
#9D41DC #DC9D41 #41DC9D
tetradic
#9D41DC #DC4F41 #80DC41 #41CDDC
square
#9D41DC #DC4F41 #80DC41 #41CDDC
split-complementary
#9D41DC #CDDC41 #41DC4F
monochromatic
#5C1989 #7E23BD #9D41DC #B875E6 #D2A8EF

Accessibility & contrast

On white

4.97
#9D41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9D41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41DC#FFFFFF#000000##FFFFFF
##9D41DC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#1271D9
Tritanopia (blue-blind)
#93648A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d41dc;
/* rgb */ color: rgb(157, 65, 220);
/* oklch */ color: oklch(57.2% 0.227 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf7de8',
    500: '#9d41dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d41dc;
$custom-light: #bf7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41dc",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 275.613,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.22694,
    "h": 307.8
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#9D41DC
secondary
#B6DD9C
accent
#EC3C83
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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