#8D58D6#8D58D6

#8D58D6 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.187 H 300.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D58D6
RGBrgb(141, 88, 214)
HSLhsl(265, 61%, 59%)
HSVhsv(265, 59%, 84%)
CMYKcmyk(34.1%, 58.9%, 0%, 16.1%)
CIE-LABlab(48.88, 47.43, -57.04)
CIE-LCHlch(48.88, 74.19, 309.75°)
OKLaboklab(57.95% 0.0934 -0.1617)
OKLCHoklch(57.95% 0.187 300)
XYZxyz(26.6089, 17.4970, 65.5807)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58D6 #A1D658
analogous
#5862D6 #8D58D6 #CC58D6
triadic
#8D58D6 #D68D58 #58D68D
tetradic
#8D58D6 #D65862 #A1D658 #58D6CC
square
#8D58D6 #D65862 #A1D658 #58D6CC
split-complementary
#8D58D6 #D6CC58 #62D658
monochromatic
#512390 #6D2FC1 #8D58D6 #AF89E2 #D0BAEE

Accessibility & contrast

On white

4.67
#8D58D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D58D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58D6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58D6#FFFFFF#000000##FFFFFF
##8D58D61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1174DA
Deuteranopia (green-blind)
#2F73D3
Tritanopia (blue-blind)
#7D728F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d58d6;
/* rgb */ color: rgb(141, 88, 214);
/* oklch */ color: oklch(58.0% 0.187 300.0);
Tailwind
colors: {
  custom: {
    50: '#b389e3',
    500: '#8d58d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d58d6;
$custom-light: #b389e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58d6",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 214
  },
  "hsl": {
    "h": 265.238,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.18676,
    "h": 300
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#8D58D6
secondary
#C9DEAC
accent
#E444A1
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8D58D6

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

Preview Lab → · Contrast checker → · Palette generator →

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