#8E43DC#8E43DC

#8E43DC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.221 H 302.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8E43DC
RGBrgb(142, 67, 220)
HSLhsl(269, 69%, 56%)
HSVhsv(269, 70%, 86%)
CMYKcmyk(35.5%, 69.5%, 0%, 13.7%)
CIE-LABlab(45.54, 59.63, -65.85)
CIE-LCHlch(45.54, 88.84, 312.16°)
OKLaboklab(55.7% 0.1173 -0.1875)
OKLCHoklch(55.7% 0.221 302)
XYZxyz(26.0777, 14.9323, 69.2046)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43DC #91DC43
analogous
#4345DC #8E43DC #DB43DC
triadic
#8E43DC #DC8E43 #43DC8E
tetradic
#8E43DC #DC4345 #91DC43 #43DCDB
square
#8E43DC #DC4345 #91DC43 #43DCDB
split-complementary
#8E43DC #DCDB43 #45DC43
monochromatic
#511A8B #6F23BE #8E43DC #AD77E6 #CCAAEF

Accessibility & contrast

On white

5.27
#8E43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8E43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43DC#FFFFFF#000000##FFFFFF
##8E43DC1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#7E678B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e43dc;
/* rgb */ color: rgb(142, 67, 220);
/* oklch */ color: oklch(55.7% 0.221 302.0);
Tailwind
colors: {
  custom: {
    50: '#b57de8',
    500: '#8e43dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e43dc;
$custom-light: #b57de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43dc",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 269.412,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.22121,
    "h": 302
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#8E43DC
secondary
#BEDD9E
accent
#EB3C96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E43DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8E43DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva