#8041DF#8041DF

#8041DF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.225 H 296.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8041DF
RGBrgb(128, 65, 223)
HSLhsl(264, 71%, 56%)
HSVhsv(264, 71%, 87%)
CMYKcmyk(42.6%, 70.9%, 0%, 12.5%)
CIE-LABlab(43.80, 58.77, -70.48)
CIE-LCHlch(43.80, 91.76, 309.82°)
OKLaboklab(54.16% 0.0994 -0.2016)
OKLCHoklch(54.16% 0.225 296.3)
XYZxyz(24.1081, 13.6970, 71.1713)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041DF #A0DF41
analogous
#4151DF #8041DF #CF41DF
triadic
#8041DF #DF8041 #41DF80
tetradic
#8041DF #DF4151 #A0DF41 #41DFCF
square
#8041DF #DF4151 #A0DF41 #41DFCF
split-complementary
#8041DF #DFCF41 #51DF41
monochromatic
#47188E #6121C2 #8041DF #A375E8 #C6AAF1

Accessibility & contrast

On white

5.62
#8041DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8041DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041DF#FFFFFF#000000##FFFFFF
##8041DF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#67698C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8041df;
/* rgb */ color: rgb(128, 65, 223);
/* oklch */ color: oklch(54.2% 0.225 296.3);
Tailwind
colors: {
  custom: {
    50: '#ac7bea',
    500: '#8041df',
    950: '#000000',
  },
}
SCSS
$custom: #8041df;
$custom-light: #ac7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8041df",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 263.924,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.22479,
    "h": 296.3
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#8041DF
secondary
#C4DE9D
accent
#EE3AA6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8041DF

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

Preview Lab → · Contrast checker → · Palette generator →

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