#8043C8#8043C8

#8043C8 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.197 H 300.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8043C8
RGBrgb(128, 67, 200)
HSLhsl(268, 55%, 52%)
HSVhsv(268, 67%, 78%)
CMYKcmyk(36%, 66.5%, 0%, 21.6%)
CIE-LABlab(42.42, 52.05, -59.49)
CIE-LCHlch(42.42, 79.04, 311.18°)
OKLaboklab(52.64% 0.1011 -0.1693)
OKLCHoklch(52.64% 0.197 300.8)
XYZxyz(21.3320, 12.7735, 55.9741)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043C8 #8BC843
analogous
#4348C8 #8043C8 #C343C8
triadic
#8043C8 #C88043 #43C880
tetradic
#8043C8 #C84348 #8BC843 #43C8C3
square
#8043C8 #C84348 #8BC843 #43C8C3
split-complementary
#8043C8 #C8C343 #48C843
monochromatic
#452170 #622F9F #8043C8 #A072D6 #C0A2E4

Accessibility & contrast

On white

5.91
#8043C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8043C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043C8#FFFFFF#000000##FFFFFF
##8043C81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#706180
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8043c8;
/* rgb */ color: rgb(128, 67, 200);
/* oklch */ color: oklch(52.6% 0.197 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa7bda',
    500: '#8043c8',
    950: '#000000',
  },
}
SCSS
$custom: #8043c8;
$custom-light: #aa7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8043c8",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 267.519,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.19719,
    "h": 300.8
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#8043C8
secondary
#B6D096
accent
#DE4A9A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8043C8

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

Preview Lab → · Contrast checker → · Palette generator →

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