#9A41DC#9A41DC

#9A41DC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.226 H 306.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9A41DC
RGBrgb(154, 65, 220)
HSLhsl(274, 69%, 56%)
HSVhsv(274, 70%, 86%)
CMYKcmyk(30%, 70.5%, 0%, 13.7%)
CIE-LABlab(46.74, 62.81, -63.85)
CIE-LCHlch(46.74, 89.56, 314.53°)
OKLaboklab(56.87% 0.1353 -0.1812)
OKLCHoklch(56.87% 0.226 306.7)
XYZxyz(28.1322, 15.8182, 69.2675)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A41DC #83DC41
analogous
#4C41DC #9A41DC #DC41D0
triadic
#9A41DC #DC9A41 #41DC9A
tetradic
#9A41DC #DC4C41 #83DC41 #41D0DC
square
#9A41DC #DC4C41 #83DC41 #41D0DC
split-complementary
#9A41DC #D0DC41 #41DC4C
monochromatic
#5A1989 #7B23BD #9A41DC #B575E6 #D1A8EF

Accessibility & contrast

On white

5.04
#9A41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9A41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A41DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A41DC#FFFFFF#000000##FFFFFF
##9A41DC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#036FD9
Tritanopia (blue-blind)
#8F658A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a41dc;
/* rgb */ color: rgb(154, 65, 220);
/* oklch */ color: oklch(56.9% 0.226 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd7de8',
    500: '#9a41dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a41dc;
$custom-light: #bd7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a41dc",
  "rgb": {
    "r": 154,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 274.452,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56871,
    "c": 0.22617,
    "h": 306.7
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#9A41DC
secondary
#B8DD9C
accent
#EC3C87
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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