#8043B0#8043B0

#8043B0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.170 H 307.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8043B0
RGBrgb(128, 67, 176)
HSLhsl(274, 45%, 48%)
HSVhsv(274, 62%, 69%)
CMYKcmyk(27.3%, 61.9%, 0%, 31%)
CIE-LABlab(40.80, 46.22, -48.06)
CIE-LCHlch(40.80, 66.68, 313.88°)
OKLaboklab(50.95% 0.1029 -0.1357)
OKLCHoklch(50.95% 0.17 307.2)
XYZxyz(18.7441, 11.7383, 42.3441)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B0 #73B043
analogous
#4943B0 #8043B0 #B043A9
triadic
#8043B0 #B08043 #43B080
tetradic
#8043B0 #B04943 #73B043 #43A9B0
square
#8043B0 #B04943 #73B043 #43A9B0
split-complementary
#8043B0 #A9B043 #43B049
monochromatic
#402157 #603284 #8043B0 #9E6AC6 #BB96D7

Accessibility & contrast

On white

6.27
#8043B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8043B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B0#FFFFFF#000000##FFFFFF
##8043B01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5EB3
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#785973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8043b0;
/* rgb */ color: rgb(128, 67, 176);
/* oklch */ color: oklch(51.0% 0.170 307.2);
Tailwind
colors: {
  custom: {
    50: '#a87ac8',
    500: '#8043b0',
    950: '#000000',
  },
}
SCSS
$custom: #8043b0;
$custom-light: #a87ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b0",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 273.578,
    "s": 44.856,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.17031,
    "h": 307.2
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#8043B0
secondary
#A4C38C
accent
#D5538C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043B0

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

Preview Lab → · Contrast checker → · Palette generator →

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