#9D41D2#9D41D2

#9D41D2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.217 H 310.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D41D2
RGBrgb(157, 65, 210)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 69%, 82%)
CMYKcmyk(25.2%, 69%, 0%, 17.6%)
CIE-LABlab(46.45, 61.23, -58.57)
CIE-LCHlch(46.45, 84.73, 316.27°)
OKLaboklab(56.53% 0.1405 -0.1656)
OKLCHoklch(56.53% 0.217 310.3)
XYZxyz(27.4255, 15.6024, 62.5271)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41D2 #76D241
analogous
#5541D2 #9D41D2 #D241BF
triadic
#9D41D2 #D29D41 #41D29D
tetradic
#9D41D2 #D25541 #76D241 #41BFD2
square
#9D41D2 #D25541 #76D241 #41BFD2
split-complementary
#9D41D2 #BFD241 #41D255
monochromatic
#591D7B #7D29AD #9D41D2 #B772DE #D0A4E9

Accessibility & contrast

On white

5.10
#9D41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9D41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41D2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41D2#FFFFFF#000000##FFFFFF
##9D41D21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#966085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d41d2;
/* rgb */ color: rgb(157, 65, 210);
/* oklch */ color: oklch(56.5% 0.217 310.3);
Tailwind
colors: {
  custom: {
    50: '#be7de1',
    500: '#9d41d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d41d2;
$custom-light: #be7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41d2",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 278.069,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.2172,
    "h": 310.3
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#9D41D2
secondary
#AFD698
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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