#8E43DD#8E43DD

#8E43DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.222 H 301.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E43DD
RGBrgb(142, 67, 221)
HSLhsl(269, 69%, 56%)
HSVhsv(269, 70%, 87%)
CMYKcmyk(35.7%, 69.7%, 0%, 13.3%)
CIE-LABlab(45.61, 59.87, -66.30)
CIE-LCHlch(45.61, 89.33, 312.08°)
OKLaboklab(55.77% 0.1171 -0.1889)
OKLCHoklch(55.77% 0.222 301.8)
XYZxyz(26.2105, 14.9854, 69.9042)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43DD #92DD43
analogous
#4345DD #8E43DD #DB43DD
triadic
#8E43DD #DD8E43 #43DD8E
tetradic
#8E43DD #DD4345 #92DD43 #43DDDB
square
#8E43DD #DD4345 #92DD43 #43DDDB
split-complementary
#8E43DD #DDDB43 #45DD43
monochromatic
#51198C #6F23C0 #8E43DD #AD77E6 #CCABF0

Accessibility & contrast

On white

5.25
#8E43DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8E43DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43DD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43DD#FFFFFF#000000##FFFFFF
##8E43DD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#7D688B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e43dd;
/* rgb */ color: rgb(142, 67, 221);
/* oklch */ color: oklch(55.8% 0.222 301.8);
Tailwind
colors: {
  custom: {
    50: '#b57de9',
    500: '#8e43dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e43dd;
$custom-light: #b57de9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43dd",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 221
  },
  "hsl": {
    "h": 269.221,
    "s": 69.369,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.22226,
    "h": 301.8
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#8E43DD
secondary
#BFDE9E
accent
#EC3C96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E43DD

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

Preview Lab → · Contrast checker → · Palette generator →

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