#8041D0#8041D0

#8041D0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.209 H 299.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8041D0
RGBrgb(128, 65, 208)
HSLhsl(266, 60%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(38.5%, 68.8%, 0%, 18.4%)
CIE-LABlab(42.65, 55.01, -63.75)
CIE-LCHlch(42.65, 84.20, 310.79°)
OKLaboklab(52.99% 0.1021 -0.1818)
OKLCHoklch(52.99% 0.209 299.3)
XYZxyz(22.1747, 12.9236, 60.9885)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041D0 #91D041
analogous
#4149D0 #8041D0 #C841D0
triadic
#8041D0 #D08041 #41D080
tetradic
#8041D0 #D04149 #91D041 #41D0C8
square
#8041D0 #D04149 #91D041 #41D0C8
split-complementary
#8041D0 #D0C841 #49D041
monochromatic
#461E79 #622AAA #8041D0 #A172DC #C2A3E8

Accessibility & contrast

On white

5.86
#8041D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8041D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041D0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041D0#FFFFFF#000000##FFFFFF
##8041D01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#6D6384
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8041d0;
/* rgb */ color: rgb(128, 65, 208);
/* oklch */ color: oklch(53.0% 0.209 299.3);
Tailwind
colors: {
  custom: {
    50: '#ab7adf',
    500: '#8041d0',
    950: '#000000',
  },
}
SCSS
$custom: #8041d0;
$custom-light: #ab7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8041d0",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 266.434,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.20851,
    "h": 299.3
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#8041D0
secondary
#BAD598
accent
#E3449D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8041D0

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

Preview Lab → · Contrast checker → · Palette generator →

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