#8043A5#8043A5

#8043A5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.158 H 310.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8043A5
RGBrgb(128, 67, 165)
HSLhsl(277, 42%, 45%)
HSVhsv(277, 59%, 65%)
CMYKcmyk(22.4%, 59.4%, 0%, 35.3%)
CIE-LABlab(40.12, 43.65, -42.62)
CIE-LCHlch(40.12, 61.00, 315.69°)
OKLaboklab(50.24% 0.103 -0.1198)
OKLCHoklch(50.24% 0.158 310.7)
XYZxyz(17.6995, 11.3205, 36.8427)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043A5 #68A543
analogous
#4F43A5 #8043A5 #A54399
triadic
#8043A5 #A58043 #43A580
tetradic
#8043A5 #A54F43 #68A543 #4399A5
square
#8043A5 #A54F43 #68A543 #4399A5
split-complementary
#8043A5 #99A543 #43A54F
monochromatic
#3C204E #5E3179 #8043A5 #9E65C0 #B990D2

Accessibility & contrast

On white

6.43
#8043A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8043A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043A5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043A5#FFFFFF#000000##FFFFFF
##8043A51.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#7B556D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8043a5;
/* rgb */ color: rgb(128, 67, 165);
/* oklch */ color: oklch(50.2% 0.158 310.7);
Tailwind
colors: {
  custom: {
    50: '#a87ac0',
    500: '#8043a5',
    950: '#000000',
  },
}
SCSS
$custom: #8043a5;
$custom-light: #a87ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8043a5",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 277.347,
    "s": 42.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.15796,
    "h": 310.7
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8043A5

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

Preview Lab → · Contrast checker → · Palette generator →

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