#8043CC#8043CC

#8043CC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.202 H 299.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8043CC
RGBrgb(128, 67, 204)
HSLhsl(267, 57%, 53%)
HSVhsv(267, 67%, 80%)
CMYKcmyk(37.3%, 67.2%, 0%, 20%)
CIE-LABlab(42.71, 53.04, -61.34)
CIE-LCHlch(42.71, 81.09, 310.85°)
OKLaboklab(52.94% 0.1006 -0.1748)
OKLCHoklch(52.94% 0.202 299.9)
XYZxyz(21.8056, 12.9629, 58.4683)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043CC #8FCC43
analogous
#434ACC #8043CC #C443CC
triadic
#8043CC #CC8043 #43CC80
tetradic
#8043CC #CC434A #8FCC43 #43CCC4
square
#8043CC #CC434A #8FCC43 #43CCC4
split-complementary
#8043CC #CCC443 #4ACC43
monochromatic
#462075 #622DA5 #8043CC #A173D9 #C1A3E6

Accessibility & contrast

On white

5.85
#8043CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8043CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043CC#FFFFFF#000000##FFFFFF
##8043CC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#6F6382
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8043cc;
/* rgb */ color: rgb(128, 67, 204);
/* oklch */ color: oklch(52.9% 0.202 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa7bdc',
    500: '#8043cc',
    950: '#000000',
  },
}
SCSS
$custom: #8043cc;
$custom-light: #aa7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8043cc",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 266.715,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.20163,
    "h": 299.9
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#8043CC
secondary
#B9D398
accent
#E1479C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8043CC

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

Preview Lab → · Contrast checker → · Palette generator →

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