#8043B4#8043B4

#8043B4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.175 H 306.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8043B4
RGBrgb(128, 67, 180)
HSLhsl(272, 46%, 48%)
HSVhsv(272, 63%, 71%)
CMYKcmyk(28.9%, 62.8%, 0%, 29.4%)
CIE-LABlab(41.06, 47.17, -50.01)
CIE-LCHlch(41.06, 68.74, 313.33°)
OKLaboklab(51.22% 0.1027 -0.1414)
OKLCHoklch(51.22% 0.175 306)
XYZxyz(19.1457, 11.8990, 44.4593)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B4 #77B443
analogous
#4743B4 #8043B4 #B443AF
triadic
#8043B4 #B48043 #43B480
tetradic
#8043B4 #B44743 #77B443 #43AFB4
square
#8043B4 #B44743 #77B443 #43AFB4
split-complementary
#8043B4 #AFB443 #43B447
monochromatic
#41225B #603287 #8043B4 #9E6CC8 #BB99D9

Accessibility & contrast

On white

6.21
#8043B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8043B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B4#FFFFFF#000000##FFFFFF
##8043B41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#2A61B1
Tritanopia (blue-blind)
#775A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8043b4;
/* rgb */ color: rgb(128, 67, 180);
/* oklch */ color: oklch(51.2% 0.175 306.0);
Tailwind
colors: {
  custom: {
    50: '#a97bcb',
    500: '#8043b4',
    950: '#000000',
  },
}
SCSS
$custom: #8043b4;
$custom-light: #a97bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b4",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 272.389,
    "s": 45.749,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.17481,
    "h": 306
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#8043B4
secondary
#A7C58E
accent
#D5528F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043B4

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

Preview Lab → · Contrast checker → · Palette generator →

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