#8043B7#8043B7

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

Color values

HEX#8043B7
RGBrgb(128, 67, 183)
HSLhsl(272, 46%, 49%)
HSVhsv(272, 63%, 72%)
CMYKcmyk(30.1%, 63.4%, 0%, 28.2%)
CIE-LABlab(41.25, 47.89, -51.45)
CIE-LCHlch(41.25, 70.29, 312.95°)
OKLaboklab(51.43% 0.1026 -0.1457)
OKLCHoklch(51.43% 0.178 305.1)
XYZxyz(19.4546, 12.0225, 46.0862)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B7 #7AB743
analogous
#4643B7 #8043B7 #B743B4
triadic
#8043B7 #B78043 #43B780
tetradic
#8043B7 #B74643 #7AB743 #43B4B7
square
#8043B7 #B74643 #7AB743 #43B4B7
split-complementary
#8043B7 #B4B743 #43B746
monochromatic
#41225D #61338A #8043B7 #9E6DCA #BC9ADA

Accessibility & contrast

On white

6.17
#8043B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8043B7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B7#FFFFFF#000000##FFFFFF
##8043B71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#765B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8043b7;
/* rgb */ color: rgb(128, 67, 183);
/* oklch */ color: oklch(51.4% 0.178 305.1);
Tailwind
colors: {
  custom: {
    50: '#a97bcd',
    500: '#8043b7',
    950: '#000000',
  },
}
SCSS
$custom: #8043b7;
$custom-light: #a97bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b7",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 271.552,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.17818,
    "h": 305.1
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8043B7

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

Preview Lab → · Contrast checker → · Palette generator →

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