#9D41CC#9D41CC

#9D41CC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.211 H 311.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D41CC
RGBrgb(157, 65, 204)
HSLhsl(280, 58%, 53%)
HSVhsv(280, 68%, 80%)
CMYKcmyk(23%, 68.1%, 0%, 20%)
CIE-LABlab(46.05, 59.95, -55.75)
CIE-LCHlch(46.05, 81.87, 317.08°)
OKLaboklab(56.13% 0.1411 -0.1574)
OKLCHoklch(56.13% 0.211 311.9)
XYZxyz(26.6920, 15.3090, 58.6639)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D41CC #70CC41
analogous
#5741CC #9D41CC #CC41B6
triadic
#9D41CC #CC9D41 #41CC9D
tetradic
#9D41CC #CC5741 #70CC41 #41B6CC
square
#9D41CC #CC5741 #70CC41 #41B6CC
split-complementary
#9D41CC #B6CC41 #41CC57
monochromatic
#571F74 #7B2CA4 #9D41CC #B671D9 #CFA1E6

Accessibility & contrast

On white

5.17
#9D41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9D41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D41CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D41CC#FFFFFF#000000##FFFFFF
##9D41CC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#975E82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d41cc;
/* rgb */ color: rgb(157, 65, 204);
/* oklch */ color: oklch(56.1% 0.211 311.9);
Tailwind
colors: {
  custom: {
    50: '#be7ddc',
    500: '#9d41cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d41cc;
$custom-light: #be7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d41cc",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 279.712,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.21137,
    "h": 311.9
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#9D41CC
secondary
#ABD396
accent
#E1477B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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