#8D58ED#8D58ED

#8D58ED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.214 H 295.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D58ED
RGBrgb(141, 88, 237)
HSLhsl(261, 81%, 64%)
HSVhsv(261, 63%, 93%)
CMYKcmyk(40.5%, 62.9%, 0%, 7.1%)
CIE-LABlab(50.40, 53.30, -67.59)
CIE-LCHlch(50.40, 86.08, 308.26°)
OKLaboklab(59.54% 0.0922 -0.1928)
OKLCHoklch(59.54% 0.214 295.5)
XYZxyz(29.7563, 18.7560, 82.1568)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58ED #B8ED58
analogous
#586DED #8D58ED #D758ED
triadic
#8D58ED #ED8D58 #58ED8D
tetradic
#8D58ED #ED586D #B8ED58 #58EDD7
square
#8D58ED #ED586D #B8ED58 #58EDD7
split-complementary
#8D58ED #EDD758 #6DED58
monochromatic
#4E14B7 #6721E7 #8D58ED #B38FF3 #D8C6F9

Accessibility & contrast

On white

4.42
#8D58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8D58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58ED
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58ED#FFFFFF#000000##000000
##8D58ED1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#747A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d58ed;
/* rgb */ color: rgb(141, 88, 237);
/* oklch */ color: oklch(59.5% 0.214 295.5);
Tailwind
colors: {
  custom: {
    50: '#b58af4',
    500: '#8d58ed',
    950: '#000000',
  },
}
SCSS
$custom: #8d58ed;
$custom-light: #b58af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58ed",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 261.342,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.21367,
    "h": 295.5
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#8D58ED
secondary
#D8EBB6
accent
#DD0991
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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