#8041C5#8041C5

#8041C5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.196 H 301.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8041C5
RGBrgb(128, 65, 197)
HSLhsl(269, 53%, 51%)
HSVhsv(269, 67%, 77%)
CMYKcmyk(35%, 67%, 0%, 22.7%)
CIE-LABlab(41.85, 52.30, -58.68)
CIE-LCHlch(41.85, 78.60, 311.71°)
OKLaboklab(52.16% 0.1036 -0.1669)
OKLCHoklch(52.16% 0.196 301.8)
XYZxyz(20.8680, 12.4009, 54.1067)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041C5 #86C541
analogous
#4144C5 #8041C5 #C241C5
triadic
#8041C5 #C58041 #41C580
tetradic
#8041C5 #C54144 #86C541 #41C5C2
square
#8041C5 #C54144 #86C541 #41C5C2
split-complementary
#8041C5 #C5C241 #44C541
monochromatic
#44216B #622F9A #8041C5 #9F70D3 #BF9FE2

Accessibility & contrast

On white

6.03
#8041C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8041C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041C5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041C5#FFFFFF#000000##FFFFFF
##8041C51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#725F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8041c5;
/* rgb */ color: rgb(128, 65, 197);
/* oklch */ color: oklch(52.2% 0.196 301.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ad7',
    500: '#8041c5',
    950: '#000000',
  },
}
SCSS
$custom: #8041c5;
$custom-light: #aa7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8041c5",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 268.636,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.19645,
    "h": 301.8
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#8041C5
secondary
#B2CE94
accent
#DD4B97
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8041C5

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

Preview Lab → · Contrast checker → · Palette generator →

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