#8043B6#8043B6

#8043B6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.177 H 305.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8043B6
RGBrgb(128, 67, 182)
HSLhsl(272, 46%, 49%)
HSVhsv(272, 63%, 71%)
CMYKcmyk(29.7%, 63.2%, 0%, 28.6%)
CIE-LABlab(41.19, 47.65, -50.97)
CIE-LCHlch(41.19, 69.78, 313.07°)
OKLaboklab(51.36% 0.1026 -0.1443)
OKLCHoklch(51.36% 0.177 305.4)
XYZxyz(19.3509, 11.9810, 45.5400)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B6 #79B643
analogous
#4743B6 #8043B6 #B643B3
triadic
#8043B6 #B68043 #43B680
tetradic
#8043B6 #B64743 #79B643 #43B3B6
square
#8043B6 #B64743 #79B643 #43B3B6
split-complementary
#8043B6 #B3B643 #43B647
monochromatic
#41225D #613389 #8043B6 #9E6DC9 #BC9ADA

Accessibility & contrast

On white

6.18
#8043B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8043B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B6#FFFFFF#000000##FFFFFF
##8043B61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#775B76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8043b6;
/* rgb */ color: rgb(128, 67, 182);
/* oklch */ color: oklch(51.4% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#a97bcc',
    500: '#8043b6',
    950: '#000000',
  },
}
SCSS
$custom: #8043b6;
$custom-light: #a97bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b6",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 182
  },
  "hsl": {
    "h": 271.826,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.17706,
    "h": 305.4
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#8043B6
secondary
#A9C68F
accent
#D65290
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043B6

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

Preview Lab → · Contrast checker → · Palette generator →

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