#9D41CA#9D41CA

#9D41CA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.209 H 312.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D41CA
RGBrgb(157, 65, 202)
HSLhsl(280, 56%, 52%)
HSVhsv(280, 68%, 79%)
CMYKcmyk(22.3%, 67.8%, 0%, 20.8%)
CIE-LABlab(45.93, 59.53, -54.80)
CIE-LCHlch(45.93, 80.92, 317.37°)
OKLaboklab(55.99% 0.1413 -0.1546)
OKLCHoklch(55.99% 0.209 312.4)
XYZxyz(26.4537, 15.2137, 57.4087)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41CA #6ECA41
analogous
#5841CA #9D41CA #CA41B3
triadic
#9D41CA #CA9D41 #41CA9D
tetradic
#9D41CA #CA5841 #6ECA41 #41B3CA
square
#9D41CA #CA5841 #6ECA41 #41B3CA
split-complementary
#9D41CA #B3CA41 #41CA58
monochromatic
#562071 #7B2DA1 #9D41CA #B671D7 #CEA1E5

Accessibility & contrast

On white

5.19
#9D41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9D41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41CA#FFFFFF#000000##FFFFFF
##9D41CA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#985D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d41ca;
/* rgb */ color: rgb(157, 65, 202);
/* oklch */ color: oklch(56.0% 0.209 312.4);
Tailwind
colors: {
  custom: {
    50: '#be7cdb',
    500: '#9d41ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d41ca;
$custom-light: #be7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41ca",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 280.292,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.20942,
    "h": 312.4
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#9D41CA
secondary
#A9D196
accent
#E0487A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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