#8041D1#8041D1

#8041D1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.210 H 299.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8041D1
RGBrgb(128, 65, 209)
HSLhsl(266, 61%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(38.8%, 68.9%, 0%, 18%)
CIE-LABlab(42.72, 55.26, -64.20)
CIE-LCHlch(42.72, 84.71, 310.72°)
OKLaboklab(53.06% 0.1019 -0.1832)
OKLCHoklch(53.06% 0.21 299.1)
XYZxyz(22.2981, 12.9730, 61.6385)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041D1 #92D141
analogous
#414AD1 #8041D1 #C841D1
triadic
#8041D1 #D18041 #41D180
tetradic
#8041D1 #D1414A #92D141 #41D1C8
square
#8041D1 #D1414A #92D141 #41D1C8
split-complementary
#8041D1 #D1C841 #4AD141
monochromatic
#461E7A #6229AB #8041D1 #A172DD #C2A4E9

Accessibility & contrast

On white

5.84
#8041D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8041D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041D1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041D1#FFFFFF#000000##FFFFFF
##8041D11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#6D6484
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8041d1;
/* rgb */ color: rgb(128, 65, 209);
/* oklch */ color: oklch(53.1% 0.210 299.1);
Tailwind
colors: {
  custom: {
    50: '#ab7ae0',
    500: '#8041d1',
    950: '#000000',
  },
}
SCSS
$custom: #8041d1;
$custom-light: #ab7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8041d1",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 266.25,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.2096,
    "h": 299.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#8041D1
secondary
#BBD698
accent
#E4449E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8041D1

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

Preview Lab → · Contrast checker → · Palette generator →

#8041D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva