#8E58BC#8E58BC

#8E58BC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.156 H 307.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E58BC
RGBrgb(142, 88, 188)
HSLhsl(272, 43%, 54%)
HSVhsv(272, 53%, 74%)
CMYKcmyk(24.5%, 53.2%, 0%, 26.3%)
CIE-LABlab(47.45, 41.33, -44.37)
CIE-LCHlch(47.45, 60.64, 312.97°)
OKLaboklab(56.42% 0.094 -0.1246)
OKLCHoklch(56.42% 0.156 307)
XYZxyz(23.7203, 16.3613, 49.4756)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58BC #86BC58
analogous
#5C58BC #8E58BC #BC58B8
triadic
#8E58BC #BC8E58 #58BC8E
tetradic
#8E58BC #BC5C58 #86BC58 #58B8BC
square
#8E58BC #BC5C58 #86BC58 #58B8BC
split-complementary
#8E58BC #B8BC58 #58BC5C
monochromatic
#4F2C6E #6F3E99 #8E58BC #AC84CE #C9AFDF

Accessibility & contrast

On white

4.92
#8E58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58BC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58BC#FFFFFF#000000##FFFFFF
##8E58BC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#876A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e58bc;
/* rgb */ color: rgb(142, 88, 188);
/* oklch */ color: oklch(56.4% 0.156 307.0);
Tailwind
colors: {
  custom: {
    50: '#b289d1',
    500: '#8e58bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e58bc;
$custom-light: #b289d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58bc",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 272.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.15608,
    "h": 307
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#8E58BC
secondary
#B6CDA3
accent
#D3558F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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