#8043B9#8043B9

#8043B9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.180 H 304.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8043B9
RGBrgb(128, 67, 185)
HSLhsl(271, 47%, 49%)
HSVhsv(271, 64%, 73%)
CMYKcmyk(30.8%, 63.8%, 0%, 27.5%)
CIE-LABlab(41.38, 48.37, -52.41)
CIE-LCHlch(41.38, 71.33, 312.70°)
OKLaboklab(51.57% 0.1024 -0.1485)
OKLCHoklch(51.57% 0.18 304.6)
XYZxyz(19.6642, 12.1064, 47.1903)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B9 #7CB943
analogous
#4543B9 #8043B9 #B943B7
triadic
#8043B9 #B98043 #43B980
tetradic
#8043B9 #B94543 #7CB943 #43B7B9
square
#8043B9 #B94543 #7CB943 #43B7B9
split-complementary
#8043B9 #B7B943 #43B945
monochromatic
#42225F #61338C #8043B9 #9E6FCB #BC9BDB

Accessibility & contrast

On white

6.14
#8043B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8043B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B9#FFFFFF#000000##FFFFFF
##8043B91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2362B6
Tritanopia (blue-blind)
#765C78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8043b9;
/* rgb */ color: rgb(128, 67, 185);
/* oklch */ color: oklch(51.6% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#a97bcf',
    500: '#8043b9',
    950: '#000000',
  },
}
SCSS
$custom: #8043b9;
$custom-light: #a97bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b9",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 271.017,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.18042,
    "h": 304.6
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#8043B9
secondary
#ABC791
accent
#D65192
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8043B9

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

Preview Lab → · Contrast checker → · Palette generator →

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