#9D41CF#9D41CF

#9D41CF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.214 H 311.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9D41CF
RGBrgb(157, 65, 207)
HSLhsl(279, 60%, 53%)
HSVhsv(279, 69%, 81%)
CMYKcmyk(24.2%, 68.6%, 0%, 18.8%)
CIE-LABlab(46.25, 60.59, -57.16)
CIE-LCHlch(46.25, 83.30, 316.67°)
OKLaboklab(56.33% 0.1408 -0.1615)
OKLCHoklch(56.33% 0.214 311.1)
XYZxyz(27.0553, 15.4543, 60.5771)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41CF #73CF41
analogous
#5641CF #9D41CF #CF41BA
triadic
#9D41CF #CF9D41 #41CF9D
tetradic
#9D41CF #CF5641 #73CF41 #41BACF
square
#9D41CF #CF5641 #73CF41 #41BACF
split-complementary
#9D41CF #BACF41 #41CF56
monochromatic
#581E77 #7C2BA8 #9D41CF #B672DB #CFA3E8

Accessibility & contrast

On white

5.13
#9D41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9D41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41CF#FFFFFF#000000##FFFFFF
##9D41CF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#975F83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d41cf;
/* rgb */ color: rgb(157, 65, 207);
/* oklch */ color: oklch(56.3% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#be7dde',
    500: '#9d41cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d41cf;
$custom-light: #be7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41cf",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 278.873,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.21428,
    "h": 311.1
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#9D41CF
secondary
#ADD497
accent
#E3457D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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