#8043C5#8043C5

#8043C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.194 H 301.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8043C5
RGBrgb(128, 67, 197)
HSLhsl(268, 53%, 52%)
HSVhsv(268, 66%, 77%)
CMYKcmyk(35%, 66%, 0%, 22.7%)
CIE-LABlab(42.21, 51.30, -58.09)
CIE-LCHlch(42.21, 77.51, 311.45°)
OKLaboklab(52.42% 0.1014 -0.1652)
OKLCHoklch(52.42% 0.194 301.5)
XYZxyz(20.9849, 12.6346, 54.1457)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043C5 #88C543
analogous
#4347C5 #8043C5 #C143C5
triadic
#8043C5 #C58043 #43C580
tetradic
#8043C5 #C54347 #88C543 #43C5C1
square
#8043C5 #C54347 #88C543 #43C5C1
split-complementary
#8043C5 #C5C143 #47C543
monochromatic
#44216C #62309B #8043C5 #A072D3 #BFA1E2

Accessibility & contrast

On white

5.95
#8043C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8043C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043C5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043C5#FFFFFF#000000##FFFFFF
##8043C51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#72607E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8043c5;
/* rgb */ color: rgb(128, 67, 197);
/* oklch */ color: oklch(52.4% 0.194 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa7bd7',
    500: '#8043c5',
    950: '#000000',
  },
}
SCSS
$custom: #8043c5;
$custom-light: #aa7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8043c5",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 268.154,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.19385,
    "h": 301.5
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8043C5

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

Preview Lab → · Contrast checker → · Palette generator →

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