#8E43DB#8E43DB

#8E43DB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.220 H 302.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E43DB
RGBrgb(142, 67, 219)
HSLhsl(270, 68%, 56%)
HSVhsv(270, 69%, 86%)
CMYKcmyk(35.2%, 69.4%, 0%, 14.1%)
CIE-LABlab(45.47, 59.40, -65.40)
CIE-LCHlch(45.47, 88.35, 312.25°)
OKLaboklab(55.62% 0.1175 -0.1862)
OKLCHoklch(55.62% 0.22 302.2)
XYZxyz(25.9456, 14.8795, 68.5092)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43DB #90DB43
analogous
#4344DB #8E43DB #DA43DB
triadic
#8E43DB #DB8E43 #43DB8E
tetradic
#8E43DB #DB4344 #90DB43 #43DBDA
square
#8E43DB #DB4344 #90DB43 #43DBDA
split-complementary
#8E43DB #DBDA43 #44DB43
monochromatic
#511A89 #6F24BD #8E43DB #AD76E5 #CCAAEF

Accessibility & contrast

On white

5.28
#8E43DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8E43DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43DB#FFFFFF#000000##FFFFFF
##8E43DB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#7E678A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e43db;
/* rgb */ color: rgb(142, 67, 219);
/* oklch */ color: oklch(55.6% 0.220 302.2);
Tailwind
colors: {
  custom: {
    50: '#b57de7',
    500: '#8e43db',
    950: '#000000',
  },
}
SCSS
$custom: #8e43db;
$custom-light: #b57de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43db",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 269.605,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.22017,
    "h": 302.2
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#8E43DB
secondary
#BDDC9E
accent
#EB3D95
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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