#9D41DD#9D41DD

#9D41DD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.228 H 307.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9D41DD
RGBrgb(157, 65, 221)
HSLhsl(275, 70%, 56%)
HSVhsv(275, 71%, 87%)
CMYKcmyk(29%, 70.6%, 0%, 13.3%)
CIE-LABlab(47.20, 63.60, -63.65)
CIE-LCHlch(47.20, 89.98, 314.98°)
OKLaboklab(57.3% 0.1391 -0.1806)
OKLCHoklch(57.3% 0.228 307.6)
XYZxyz(28.8433, 16.1695, 69.9942)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41DD #81DD41
analogous
#4F41DD #9D41DD #DD41CF
triadic
#9D41DD #DD9D41 #41DD9D
tetradic
#9D41DD #DD4F41 #81DD41 #41CFDD
square
#9D41DD #DD4F41 #81DD41 #41CFDD
split-complementary
#9D41DD #CFDD41 #41DD4F
monochromatic
#5C198B #7E22BF #9D41DD #B875E6 #D3A9F0

Accessibility & contrast

On white

4.96
#9D41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9D41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41DD#FFFFFF#000000##FFFFFF
##9D41DD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0E71DA
Tritanopia (blue-blind)
#93658B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d41dd;
/* rgb */ color: rgb(157, 65, 221);
/* oklch */ color: oklch(57.3% 0.228 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf7de8',
    500: '#9d41dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d41dd;
$custom-light: #bf7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41dd",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 275.385,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.22792,
    "h": 307.6
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#9D41DD
secondary
#B7DD9D
accent
#EC3B84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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