#8043BC#8043BC

#8043BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.184 H 303.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8043BC
RGBrgb(128, 67, 188)
HSLhsl(270, 47%, 50%)
HSVhsv(270, 64%, 74%)
CMYKcmyk(31.9%, 64.4%, 0%, 26.3%)
CIE-LABlab(41.59, 49.10, -53.85)
CIE-LCHlch(41.59, 72.87, 312.36°)
OKLaboklab(51.78% 0.1022 -0.1527)
OKLCHoklch(51.78% 0.184 303.8)
XYZxyz(19.9843, 12.2344, 48.8759)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043BC #7FBC43
analogous
#4443BC #8043BC #BC43BB
triadic
#8043BC #BC8043 #43BC80
tetradic
#8043BC #BC4443 #7FBC43 #43BBBC
square
#8043BC #BC4443 #7FBC43 #43BBBC
split-complementary
#8043BC #BBBC43 #43BC44
monochromatic
#432362 #61338F #8043BC #9E70CC #BD9DDC

Accessibility & contrast

On white

6.09
#8043BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8043BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043BC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043BC#FFFFFF#000000##FFFFFF
##8043BC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#755D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8043bc;
/* rgb */ color: rgb(128, 67, 188);
/* oklch */ color: oklch(51.8% 0.184 303.8);
Tailwind
colors: {
  custom: {
    50: '#a97bd1',
    500: '#8043bc',
    950: '#000000',
  },
}
SCSS
$custom: #8043bc;
$custom-light: #a97bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8043bc",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 270.248,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.18379,
    "h": 303.8
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#8043BC
secondary
#ADC992
accent
#D75193
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8043BC

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

Preview Lab → · Contrast checker → · Palette generator →

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