#8043C2#8043C2

#8043C2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.191 H 302.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8043C2
RGBrgb(128, 67, 194)
HSLhsl(269, 51%, 51%)
HSVhsv(269, 65%, 76%)
CMYKcmyk(34%, 65.5%, 0%, 23.9%)
CIE-LABlab(42.00, 50.57, -56.69)
CIE-LCHlch(42.00, 75.96, 311.73°)
OKLaboklab(52.2% 0.1017 -0.1611)
OKLCHoklch(52.2% 0.191 302.3)
XYZxyz(20.6446, 12.4985, 52.3533)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043C2 #85C243
analogous
#4345C2 #8043C2 #BF43C2
triadic
#8043C2 #C28043 #43C280
tetradic
#8043C2 #C24345 #85C243 #43C2BF
square
#8043C2 #C24345 #85C243 #43C2BF
split-complementary
#8043C2 #C2BF43 #45C243
monochromatic
#442269 #623197 #8043C2 #9F71D1 #BE9FE0

Accessibility & contrast

On white

6.00
#8043C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8043C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043C2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043C2#FFFFFF#000000##FFFFFF
##8043C21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#735F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8043c2;
/* rgb */ color: rgb(128, 67, 194);
/* oklch */ color: oklch(52.2% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#aa7bd5',
    500: '#8043c2',
    950: '#000000',
  },
}
SCSS
$custom: #8043c2;
$custom-light: #aa7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8043c2",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 268.819,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.1905,
    "h": 302.3
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#8043C2
secondary
#B2CC94
accent
#DA4D97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8043C2

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

Preview Lab → · Contrast checker → · Palette generator →

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