#9A41DF#9A41DF

#9A41DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.229 H 306.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9A41DF
RGBrgb(154, 65, 223)
HSLhsl(274, 71%, 56%)
HSVhsv(274, 71%, 87%)
CMYKcmyk(30.9%, 70.9%, 0%, 12.5%)
CIE-LABlab(46.95, 63.47, -65.21)
CIE-LCHlch(46.95, 91.00, 314.22°)
OKLaboklab(57.09% 0.1348 -0.1853)
OKLCHoklch(57.09% 0.229 306)
XYZxyz(28.5331, 15.9786, 71.3787)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A41DF #86DF41
analogous
#4B41DF #9A41DF #DF41D5
triadic
#9A41DF #DF9A41 #41DF9A
tetradic
#9A41DF #DF4B41 #86DF41 #41D5DF
square
#9A41DF #DF4B41 #86DF41 #41D5DF
split-complementary
#9A41DF #D5DF41 #41DF4B
monochromatic
#5A188E #7C21C2 #9A41DF #B675E8 #D2AAF1

Accessibility & contrast

On white

5.01
#9A41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9A41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A41DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A41DF#FFFFFF#000000##FFFFFF
##9A41DF1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#8E668C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a41df;
/* rgb */ color: rgb(154, 65, 223);
/* oklch */ color: oklch(57.1% 0.229 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd7dea',
    500: '#9a41df',
    950: '#000000',
  },
}
SCSS
$custom: #9a41df;
$custom-light: #bd7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a41df",
  "rgb": {
    "r": 154,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 273.797,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.22913,
    "h": 306
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#9A41DF
secondary
#BADE9D
accent
#EE3A89
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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