#8043A6#8043A6

#8043A6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.159 H 310.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8043A6
RGBrgb(128, 67, 166)
HSLhsl(277, 42%, 46%)
HSVhsv(277, 60%, 65%)
CMYKcmyk(22.9%, 59.6%, 0%, 34.9%)
CIE-LABlab(40.18, 43.88, -43.12)
CIE-LCHlch(40.18, 61.52, 315.50°)
OKLaboklab(50.3% 0.103 -0.1212)
OKLCHoklch(50.3% 0.159 310.3)
XYZxyz(17.7909, 11.3570, 37.3239)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043A6 #69A643
analogous
#4F43A6 #8043A6 #A6439A
triadic
#8043A6 #A68043 #43A680
tetradic
#8043A6 #A64F43 #69A643 #439AA6
square
#8043A6 #A64F43 #69A643 #439AA6
split-complementary
#8043A6 #9AA643 #43A64F
monochromatic
#3D204F #5E317A #8043A6 #9E65C1 #B991D3

Accessibility & contrast

On white

6.42
#8043A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8043A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043A6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043A6#FFFFFF#000000##FFFFFF
##8043A61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#7B556E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8043a6;
/* rgb */ color: rgb(128, 67, 166);
/* oklch */ color: oklch(50.3% 0.159 310.3);
Tailwind
colors: {
  custom: {
    50: '#a87ac1',
    500: '#8043a6',
    950: '#000000',
  },
}
SCSS
$custom: #8043a6;
$custom-light: #a87ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8043a6",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 276.97,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.503,
    "c": 0.15907,
    "h": 310.3
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#8043A6
secondary
#9CBE87
accent
#D25685
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8043A6

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

Preview Lab → · Contrast checker → · Palette generator →

#8043A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva