#9041DB#9041DB

#9041DB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.223 H 303.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9041DB
RGBrgb(144, 65, 219)
HSLhsl(271, 68%, 56%)
HSVhsv(271, 70%, 86%)
CMYKcmyk(34.2%, 70.3%, 0%, 14.1%)
CIE-LABlab(45.39, 60.68, -65.51)
CIE-LCHlch(45.39, 89.29, 312.81°)
OKLaboklab(55.62% 0.1221 -0.1865)
OKLCHoklch(55.62% 0.223 303.2)
XYZxyz(26.1751, 14.8244, 68.4865)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9041DB #8CDB41
analogous
#4341DB #9041DB #DB41D9
triadic
#9041DB #DB9041 #41DB90
tetradic
#9041DB #DB4341 #8CDB41 #41D9DB
square
#9041DB #DB4341 #8CDB41 #41D9DB
split-complementary
#9041DB #D9DB41 #41DB43
monochromatic
#521A88 #7123BB #9041DB #AE74E5 #CCA8EE

Accessibility & contrast

On white

5.30
#9041DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9041DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9041DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9041DB#FFFFFF#000000##FFFFFF
##9041DB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#81668A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9041db;
/* rgb */ color: rgb(144, 65, 219);
/* oklch */ color: oklch(55.6% 0.223 303.2);
Tailwind
colors: {
  custom: {
    50: '#b67ce7',
    500: '#9041db',
    950: '#000000',
  },
}
SCSS
$custom: #9041db;
$custom-light: #b67ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9041db",
  "rgb": {
    "r": 144,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 270.779,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.22291,
    "h": 303.2
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#9041DB
secondary
#BBDC9C
accent
#EB3D92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9041DB

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

Preview Lab → · Contrast checker → · Palette generator →

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