#9A41D9#9A41D9

#9A41D9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.7% C 0.223 H 307.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A41D9
RGBrgb(154, 65, 217)
HSLhsl(275, 67%, 55%)
HSVhsv(275, 70%, 85%)
CMYKcmyk(29%, 70%, 0%, 14.9%)
CIE-LABlab(46.53, 62.14, -62.47)
CIE-LCHlch(46.53, 88.12, 314.85°)
OKLaboklab(56.66% 0.1357 -0.1772)
OKLCHoklch(56.66% 0.223 307.5)
XYZxyz(27.7385, 15.6607, 67.1937)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A41D9 #80D941
analogous
#4E41D9 #9A41D9 #D941CC
triadic
#9A41D9 #D99A41 #41D99A
tetradic
#9A41D9 #D94E41 #80D941 #41CCD9
square
#9A41D9 #D94E41 #80D941 #41CCD9
split-complementary
#9A41D9 #CCD941 #41D94E
monochromatic
#591B85 #7B25B8 #9A41D9 #B574E3 #D0A7ED

Accessibility & contrast

On white

5.08
#9A41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9A41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A41D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A41D9#FFFFFF#000000##FFFFFF
##9A41D91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#126FD6
Tritanopia (blue-blind)
#906489
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a41d9;
/* rgb */ color: rgb(154, 65, 217);
/* oklch */ color: oklch(56.7% 0.223 307.5);
Tailwind
colors: {
  custom: {
    50: '#bd7de6',
    500: '#9a41d9',
    950: '#000000',
  },
}
SCSS
$custom: #9a41d9;
$custom-light: #bd7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a41d9",
  "rgb": {
    "r": 154,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 275.132,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.22321,
    "h": 307.5
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#9A41D9
secondary
#B5DB9B
accent
#EA3E85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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