#8041C7#8041C7

#8041C7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.199 H 301.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8041C7
RGBrgb(128, 65, 199)
HSLhsl(268, 54%, 52%)
HSVhsv(268, 67%, 78%)
CMYKcmyk(35.7%, 67.3%, 0%, 22%)
CIE-LABlab(41.99, 52.79, -59.61)
CIE-LCHlch(41.99, 79.62, 311.53°)
OKLaboklab(52.31% 0.1033 -0.1697)
OKLCHoklch(52.31% 0.199 301.3)
XYZxyz(21.0987, 12.4932, 55.3216)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C7 #88C741
analogous
#4145C7 #8041C7 #C341C7
triadic
#8041C7 #C78041 #41C780
tetradic
#8041C7 #C74145 #88C741 #41C7C3
square
#8041C7 #C74145 #88C741 #41C7C3
split-complementary
#8041C7 #C7C341 #45C741
monochromatic
#44206D #622E9D #8041C7 #A070D5 #BFA0E3

Accessibility & contrast

On white

6.00
#8041C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8041C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C7#FFFFFF#000000##FFFFFF
##8041C71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#71607F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8041c7;
/* rgb */ color: rgb(128, 65, 199);
/* oklch */ color: oklch(52.3% 0.199 301.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ad9',
    500: '#8041c7',
    950: '#000000',
  },
}
SCSS
$custom: #8041c7;
$custom-light: #aa7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c7",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 268.209,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.19865,
    "h": 301.3
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#8041C7
secondary
#B4CF95
accent
#DE4A98
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8041C7

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

Preview Lab → · Contrast checker → · Palette generator →

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