#8E43CC#8E43CC

#8E43CC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.204 H 305.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8E43CC
RGBrgb(142, 67, 204)
HSLhsl(273, 57%, 53%)
HSVhsv(273, 67%, 80%)
CMYKcmyk(30.4%, 67.2%, 0%, 20%)
CIE-LABlab(44.41, 55.89, -58.50)
CIE-LCHlch(44.41, 80.91, 313.69°)
OKLaboklab(54.53% 0.1195 -0.1659)
OKLCHoklch(54.53% 0.204 305.7)
XYZxyz(24.0592, 14.1249, 58.5739)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43CC #81CC43
analogous
#4943CC #8E43CC #CC43C5
triadic
#8E43CC #CC8E43 #43CC8E
tetradic
#8E43CC #CC4943 #81CC43 #43C5CC
square
#8E43CC #CC4943 #81CC43 #43C5CC
split-complementary
#8E43CC #C5CC43 #43CC49
monochromatic
#4E2075 #6F2DA5 #8E43CC #AB73D9 #C8A3E6

Accessibility & contrast

On white

5.49
#8E43CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8E43CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43CC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43CC#FFFFFF#000000##FFFFFF
##8E43CC1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#1969C9
Tritanopia (blue-blind)
#836182
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e43cc;
/* rgb */ color: rgb(142, 67, 204);
/* oklch */ color: oklch(54.5% 0.204 305.7);
Tailwind
colors: {
  custom: {
    50: '#b47cdc',
    500: '#8e43cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e43cc;
$custom-light: #b47cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43cc",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 272.847,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.20446,
    "h": 305.7
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#8E43CC
secondary
#B3D398
accent
#E1478D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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