#8043A7#8043A7

#8043A7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.160 H 310.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8043A7
RGBrgb(128, 67, 167)
HSLhsl(277, 43%, 46%)
HSVhsv(277, 60%, 65%)
CMYKcmyk(23.4%, 59.9%, 0%, 34.5%)
CIE-LABlab(40.24, 44.11, -43.62)
CIE-LCHlch(40.24, 62.03, 315.32°)
OKLaboklab(50.36% 0.103 -0.1227)
OKLCHoklch(50.36% 0.16 310)
XYZxyz(17.8830, 11.3939, 37.8089)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043A7 #6AA743
analogous
#4E43A7 #8043A7 #A7439C
triadic
#8043A7 #A78043 #43A780
tetradic
#8043A7 #A74E43 #6AA743 #439CA7
square
#8043A7 #A74E43 #6AA743 #439CA7
split-complementary
#8043A7 #9CA743 #43A74E
monochromatic
#3D2050 #5F317B #8043A7 #9E66C1 #B991D3

Accessibility & contrast

On white

6.40
#8043A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8043A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043A7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043A7#FFFFFF#000000##FFFFFF
##8043A71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CAA
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#7B566E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8043a7;
/* rgb */ color: rgb(128, 67, 167);
/* oklch */ color: oklch(50.4% 0.160 310.0);
Tailwind
colors: {
  custom: {
    50: '#a87ac2',
    500: '#8043a7',
    950: '#000000',
  },
}
SCSS
$custom: #8043a7;
$custom-light: #a87ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8043a7",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 276.6,
    "s": 42.735,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.1602,
    "h": 310
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#8043A7
secondary
#9DBE87
accent
#D35586
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8043A7

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

Preview Lab → · Contrast checker → · Palette generator →

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