#8043B8#8043B8

#8043B8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.179 H 304.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8043B8
RGBrgb(128, 67, 184)
HSLhsl(271, 47%, 49%)
HSVhsv(271, 64%, 72%)
CMYKcmyk(30.4%, 63.6%, 0%, 27.8%)
CIE-LABlab(41.32, 48.13, -51.94)
CIE-LCHlch(41.32, 70.81, 312.82°)
OKLaboklab(51.5% 0.1025 -0.1471)
OKLCHoklch(51.5% 0.179 304.9)
XYZxyz(19.5591, 12.0643, 46.6363)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B8 #7BB843
analogous
#4543B8 #8043B8 #B843B6
triadic
#8043B8 #B88043 #43B880
tetradic
#8043B8 #B84543 #7BB843 #43B6B8
square
#8043B8 #B84543 #7BB843 #43B6B8
split-complementary
#8043B8 #B6B843 #43B845
monochromatic
#42225E #61338B #8043B8 #9E6ECA #BC9BDB

Accessibility & contrast

On white

6.15
#8043B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8043B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B8#FFFFFF#000000##FFFFFF
##8043B81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#2562B5
Tritanopia (blue-blind)
#765C77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8043b8;
/* rgb */ color: rgb(128, 67, 184);
/* oklch */ color: oklch(51.5% 0.179 304.9);
Tailwind
colors: {
  custom: {
    50: '#a97bce',
    500: '#8043b8',
    950: '#000000',
  },
}
SCSS
$custom: #8043b8;
$custom-light: #a97bce;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b8",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 271.282,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.1793,
    "h": 304.9
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

primary
#8043B8
secondary
#AAC790
accent
#D65291
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8043B8

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

Preview Lab → · Contrast checker → · Palette generator →

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