#8043B5#8043B5

#8043B5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.176 H 305.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8043B5
RGBrgb(128, 67, 181)
HSLhsl(272, 46%, 49%)
HSVhsv(272, 63%, 71%)
CMYKcmyk(29.3%, 63%, 0%, 29%)
CIE-LABlab(41.12, 47.41, -50.49)
CIE-LCHlch(41.12, 69.26, 313.20°)
OKLaboklab(51.29% 0.1027 -0.1429)
OKLCHoklch(51.29% 0.176 305.7)
XYZxyz(19.2479, 11.9398, 44.9977)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B5 #78B543
analogous
#4743B5 #8043B5 #B543B1
triadic
#8043B5 #B58043 #43B580
tetradic
#8043B5 #B54743 #78B543 #43B1B5
square
#8043B5 #B54743 #78B543 #43B1B5
split-complementary
#8043B5 #B1B543 #43B547
monochromatic
#41225C #603288 #8043B5 #9E6CC9 #BB99D9

Accessibility & contrast

On white

6.20
#8043B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8043B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B5#FFFFFF#000000##FFFFFF
##8043B51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#775B76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8043b5;
/* rgb */ color: rgb(128, 67, 181);
/* oklch */ color: oklch(51.3% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#a97bcc',
    500: '#8043b5',
    950: '#000000',
  },
}
SCSS
$custom: #8043b5;
$custom-light: #a97bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b5",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 272.105,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.17594,
    "h": 305.7
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#8043B5
secondary
#A8C58F
accent
#D6528F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043B5

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

Preview Lab → · Contrast checker → · Palette generator →

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