#9041D9#9041D9

#9041D9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.221 H 303.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9041D9
RGBrgb(144, 65, 217)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 70%, 85%)
CMYKcmyk(33.6%, 70%, 0%, 14.9%)
CIE-LABlab(45.25, 60.21, -64.60)
CIE-LCHlch(45.25, 88.31, 312.99°)
OKLaboklab(55.47% 0.1225 -0.1838)
OKLCHoklch(55.47% 0.221 303.7)
XYZxyz(25.9134, 14.7197, 67.1082)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9041D9 #8AD941
analogous
#4441D9 #9041D9 #D941D6
triadic
#9041D9 #D99041 #41D990
tetradic
#9041D9 #D94441 #8AD941 #41D6D9
square
#9041D9 #D94441 #8AD941 #41D6D9
split-complementary
#9041D9 #D6D941 #41D944
monochromatic
#521B85 #7125B8 #9041D9 #AE74E3 #CCA7ED

Accessibility & contrast

On white

5.32
#9041D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9041D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9041D9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9041D9#FFFFFF#000000##FFFFFF
##9041D91.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#826589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9041d9;
/* rgb */ color: rgb(144, 65, 217);
/* oklch */ color: oklch(55.5% 0.221 303.7);
Tailwind
colors: {
  custom: {
    50: '#b67ce6',
    500: '#9041d9',
    950: '#000000',
  },
}
SCSS
$custom: #9041d9;
$custom-light: #b67ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9041d9",
  "rgb": {
    "r": 144,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 271.184,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.22085,
    "h": 303.7
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#9041D9
secondary
#BADB9B
accent
#EA3E91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9041D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9041D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva