#8E58DF#8E58DF

#8E58DF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.198 H 298.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E58DF
RGBrgb(142, 88, 223)
HSLhsl(264, 68%, 61%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.3%, 60.5%, 0%, 12.5%)
CIE-LABlab(49.57, 49.93, -61.04)
CIE-LCHlch(49.57, 78.86, 309.28°)
OKLaboklab(58.66% 0.0944 -0.1735)
OKLCHoklch(58.66% 0.198 298.5)
XYZxyz(27.9610, 18.0576, 71.8101)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58DF #A9DF58
analogous
#5865DF #8E58DF #D158DF
triadic
#8E58DF #DF8E58 #58DF8E
tetradic
#8E58DF #DF5865 #A9DF58 #58DFD1
square
#8E58DF #DF5865 #A9DF58 #58DFD1
split-complementary
#8E58DF #DFD158 #65DF58
monochromatic
#521E9E #6C28D2 #8E58DF #B18BE9 #D4BFF3

Accessibility & contrast

On white

4.55
#8E58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58DF#FFFFFF#000000##000000
##8E58DF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2175DC
Tritanopia (blue-blind)
#7C7593
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e58df;
/* rgb */ color: rgb(142, 88, 223);
/* oklch */ color: oklch(58.7% 0.198 298.5);
Tailwind
colors: {
  custom: {
    50: '#b48aea',
    500: '#8e58df',
    950: '#000000',
  },
}
SCSS
$custom: #8e58df;
$custom-light: #b48aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58df",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 264,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.1975,
    "h": 298.5
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#8E58DF
secondary
#CEE3B0
accent
#D01685
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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