#8E43BB#8E43BB

#8E43BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.187 H 310.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8E43BB
RGBrgb(142, 67, 187)
HSLhsl(278, 47%, 50%)
HSVhsv(278, 64%, 73%)
CMYKcmyk(24.1%, 64.2%, 0%, 26.7%)
CIE-LABlab(43.29, 52.04, -50.43)
CIE-LCHlch(43.29, 72.46, 315.90°)
OKLaboklab(53.37% 0.1208 -0.1422)
OKLCHoklch(53.37% 0.187 310.3)
XYZxyz(22.1304, 13.3534, 48.4157)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43BB #70BB43
analogous
#5243BB #8E43BB #BB43AC
triadic
#8E43BB #BB8E43 #43BB8E
tetradic
#8E43BB #BB5243 #70BB43 #43ACBB
square
#8E43BB #BB5243 #70BB43 #43ACBB
split-complementary
#8E43BB #ACBB43 #43BB52
monochromatic
#4A2361 #6C338E #8E43BB #A970CC #C49DDC

Accessibility & contrast

On white

5.72
#8E43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8E43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43BB#FFFFFF#000000##FFFFFF
##8E43BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#885B79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e43bb;
/* rgb */ color: rgb(142, 67, 187);
/* oklch */ color: oklch(53.4% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#b37cd0',
    500: '#8e43bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e43bb;
$custom-light: #b37cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43bb",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 277.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.18661,
    "h": 310.3
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#8E43BB
secondary
#A6C892
accent
#D75183
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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