#8043A2#8043A2

#8043A2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.155 H 311.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8043A2
RGBrgb(128, 67, 162)
HSLhsl(279, 41%, 45%)
HSVhsv(279, 59%, 64%)
CMYKcmyk(21%, 58.6%, 0%, 36.5%)
CIE-LABlab(39.94, 42.96, -41.11)
CIE-LCHlch(39.94, 59.46, 316.26°)
OKLaboklab(50.05% 0.1029 -0.1154)
OKLCHoklch(50.05% 0.155 311.7)
XYZxyz(17.4297, 11.2125, 35.4215)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043A2 #65A243
analogous
#5043A2 #8043A2 #A24395
triadic
#8043A2 #A28043 #43A280
tetradic
#8043A2 #A25043 #65A243 #4395A2
square
#8043A2 #A25043 #65A243 #4395A2
split-complementary
#8043A2 #95A243 #43A250
monochromatic
#3C1F4B #5E3177 #8043A2 #9E64BF #B98FD1

Accessibility & contrast

On white

6.48
#8043A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8043A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043A2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043A2#FFFFFF#000000##FFFFFF
##8043A21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#7C546C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8043a2;
/* rgb */ color: rgb(128, 67, 162);
/* oklch */ color: oklch(50.0% 0.155 311.7);
Tailwind
colors: {
  custom: {
    50: '#a77abe',
    500: '#8043a2',
    950: '#000000',
  },
}
SCSS
$custom: #8043a2;
$custom-light: #a77abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8043a2",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 278.526,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.15459,
    "h": 311.7
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#8043A2
secondary
#99BC85
accent
#D15682
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8043A2

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

Preview Lab → · Contrast checker → · Palette generator →

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