#8043C4#8043C4

#8043C4 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.193 H 301.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8043C4
RGBrgb(128, 67, 196)
HSLhsl(268, 52%, 52%)
HSVhsv(268, 66%, 77%)
CMYKcmyk(34.7%, 65.8%, 0%, 23.1%)
CIE-LABlab(42.14, 51.06, -57.63)
CIE-LCHlch(42.14, 76.99, 311.54°)
OKLaboklab(52.35% 0.1015 -0.1638)
OKLCHoklch(52.35% 0.193 301.8)
XYZxyz(20.8707, 12.5890, 53.5442)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043C4 #87C443
analogous
#4347C4 #8043C4 #C143C4
triadic
#8043C4 #C48043 #43C480
tetradic
#8043C4 #C44347 #87C443 #43C4C1
square
#8043C4 #C44347 #87C443 #43C4C1
split-complementary
#8043C4 #C4C143 #47C443
monochromatic
#44226B #62309A #8043C4 #9F72D3 #BFA0E1

Accessibility & contrast

On white

5.97
#8043C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8043C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043C4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043C4#FFFFFF#000000##FFFFFF
##8043C41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#72607E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8043c4;
/* rgb */ color: rgb(128, 67, 196);
/* oklch */ color: oklch(52.3% 0.193 301.8);
Tailwind
colors: {
  custom: {
    50: '#aa7bd7',
    500: '#8043c4',
    950: '#000000',
  },
}
SCSS
$custom: #8043c4;
$custom-light: #aa7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8043c4",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 268.372,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.19274,
    "h": 301.8
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#8043C4
secondary
#B3CE95
accent
#DC4C98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8043C4

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

Preview Lab → · Contrast checker → · Palette generator →

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