#8043D2#8043D2

#8043D2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.208 H 298.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8043D2
RGBrgb(128, 67, 210)
HSLhsl(266, 61%, 54%)
HSVhsv(266, 68%, 82%)
CMYKcmyk(39%, 68.1%, 0%, 17.6%)
CIE-LABlab(43.15, 54.54, -64.09)
CIE-LCHlch(43.15, 84.15, 310.40°)
OKLaboklab(53.39% 0.0997 -0.1828)
OKLCHoklch(53.39% 0.208 298.6)
XYZxyz(22.5392, 13.2563, 62.3315)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043D2 #95D243
analogous
#434ED2 #8043D2 #C743D2
triadic
#8043D2 #D28043 #43D280
tetradic
#8043D2 #D2434E #95D243 #43D2C7
square
#8043D2 #D2434E #95D243 #43D2C7
split-complementary
#8043D2 #D2C743 #4ED243
monochromatic
#461E7D #622AAE #8043D2 #A174DE #C3A6EA

Accessibility & contrast

On white

5.75
#8043D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8043D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043D2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043D2#FFFFFF#000000##FFFFFF
##8043D21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#6D6585
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8043d2;
/* rgb */ color: rgb(128, 67, 210);
/* oklch */ color: oklch(53.4% 0.208 298.6);
Tailwind
colors: {
  custom: {
    50: '#ab7be1',
    500: '#8043d2',
    950: '#000000',
  },
}
SCSS
$custom: #8043d2;
$custom-light: #ab7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8043d2",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 265.594,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.20827,
    "h": 298.6
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#8043D2
secondary
#BDD79A
accent
#E443A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8043D2

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

Preview Lab → · Contrast checker → · Palette generator →

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