#9041D2#9041D2

#9041D2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.214 H 305.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9041D2
RGBrgb(144, 65, 210)
HSLhsl(273, 62%, 54%)
HSVhsv(273, 69%, 82%)
CMYKcmyk(31.4%, 69%, 0%, 17.6%)
CIE-LABlab(44.75, 58.60, -61.40)
CIE-LCHlch(44.75, 84.88, 313.67°)
OKLaboklab(54.96% 0.1235 -0.1744)
OKLCHoklch(54.96% 0.214 305.3)
XYZxyz(25.0222, 14.3632, 62.4144)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9041D2 #83D241
analogous
#4841D2 #9041D2 #D241CB
triadic
#9041D2 #D29041 #41D290
tetradic
#9041D2 #D24841 #83D241 #41CBD2
square
#9041D2 #D24841 #83D241 #41CBD2
split-complementary
#9041D2 #CBD241 #41D248
monochromatic
#511D7B #7129AD #9041D2 #AD72DE #CAA4E9

Accessibility & contrast

On white

5.42
#9041D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9041D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9041D2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9041D2#FFFFFF#000000##FFFFFF
##9041D21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#036ACF
Tritanopia (blue-blind)
#846285
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9041d2;
/* rgb */ color: rgb(144, 65, 210);
/* oklch */ color: oklch(55.0% 0.214 305.3);
Tailwind
colors: {
  custom: {
    50: '#b67ce1',
    500: '#9041d2',
    950: '#000000',
  },
}
SCSS
$custom: #9041d2;
$custom-light: #b67ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9041d2",
  "rgb": {
    "r": 144,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 272.69,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.21368,
    "h": 305.3
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#9041D2
secondary
#B5D698
accent
#E5438D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9041D2

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

Preview Lab → · Contrast checker → · Palette generator →

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