#9041D8#9041D8

#9041D8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.220 H 303.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9041D8
RGBrgb(144, 65, 216)
HSLhsl(271, 66%, 55%)
HSVhsv(271, 70%, 85%)
CMYKcmyk(33.3%, 69.9%, 0%, 15.3%)
CIE-LABlab(45.18, 59.98, -64.15)
CIE-LCHlch(45.18, 87.82, 313.08°)
OKLaboklab(55.4% 0.1226 -0.1825)
OKLCHoklch(55.4% 0.22 303.9)
XYZxyz(25.7837, 14.6678, 66.4253)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9041D8 #89D841
analogous
#4541D8 #9041D8 #D841D4
triadic
#9041D8 #D89041 #41D890
tetradic
#9041D8 #D84541 #89D841 #41D4D8
square
#9041D8 #D84541 #89D841 #41D4D8
split-complementary
#9041D8 #D4D841 #41D845
monochromatic
#521B84 #7125B6 #9041D8 #AE74E2 #CBA7ED

Accessibility & contrast

On white

5.34
#9041D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9041D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9041D8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9041D8#FFFFFF#000000##FFFFFF
##9041D81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#826488
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9041d8;
/* rgb */ color: rgb(144, 65, 216);
/* oklch */ color: oklch(55.4% 0.220 303.9);
Tailwind
colors: {
  custom: {
    50: '#b67ce5',
    500: '#9041d8',
    950: '#000000',
  },
}
SCSS
$custom: #9041d8;
$custom-light: #b67ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#9041d8",
  "rgb": {
    "r": 144,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 271.391,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.21984,
    "h": 303.9
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#9041D8
secondary
#B9DA9B
accent
#E93F90
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9041D8

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

Preview Lab → · Contrast checker → · Palette generator →

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