#8041CE#8041CE

#8041CE is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.206 H 299.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8041CE
RGBrgb(128, 65, 206)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 68%, 81%)
CMYKcmyk(37.9%, 68.4%, 0%, 19.2%)
CIE-LABlab(42.50, 54.52, -62.83)
CIE-LCHlch(42.50, 83.19, 310.95°)
OKLaboklab(52.83% 0.1024 -0.1791)
OKLCHoklch(52.83% 0.206 299.7)
XYZxyz(21.9302, 12.8258, 59.7008)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041CE #8FCE41
analogous
#4148CE #8041CE #C741CE
triadic
#8041CE #CE8041 #41CE80
tetradic
#8041CE #CE4148 #8FCE41 #41CEC7
square
#8041CE #CE4148 #8FCE41 #41CEC7
split-complementary
#8041CE #CEC741 #48CE41
monochromatic
#461E76 #622BA7 #8041CE #A172DB #C1A2E7

Accessibility & contrast

On white

5.89
#8041CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8041CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041CE#FFFFFF#000000##FFFFFF
##8041CE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#6E6283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8041ce;
/* rgb */ color: rgb(128, 65, 206);
/* oklch */ color: oklch(52.8% 0.206 299.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ade',
    500: '#8041ce',
    950: '#000000',
  },
}
SCSS
$custom: #8041ce;
$custom-light: #ab7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8041ce",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 266.809,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.20633,
    "h": 299.7
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#8041CE
secondary
#B9D497
accent
#E2469C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041CE

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

Preview Lab → · Contrast checker → · Palette generator →

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