#8D58D7#8D58D7

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

Color values

HEX#8D58D7
RGBrgb(141, 88, 215)
HSLhsl(265, 61%, 59%)
HSVhsv(265, 59%, 84%)
CMYKcmyk(34.4%, 59.1%, 0%, 15.7%)
CIE-LABlab(48.94, 47.68, -57.51)
CIE-LCHlch(48.94, 74.71, 309.66°)
OKLaboklab(58.02% 0.0933 -0.1631)
OKLCHoklch(58.02% 0.188 299.8)
XYZxyz(26.7370, 17.5482, 66.2553)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58D7 #A2D758
analogous
#5863D7 #8D58D7 #CC58D7
triadic
#8D58D7 #D78D58 #58D78D
tetradic
#8D58D7 #D75863 #A2D758 #58D7CC
square
#8D58D7 #D75863 #A2D758 #58D7CC
split-complementary
#8D58D7 #D7CC58 #63D758
monochromatic
#512392 #6D2FC3 #8D58D7 #AF89E3 #D0BBEF

Accessibility & contrast

On white

4.66
#8D58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8D58D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58D7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58D7#FFFFFF#000000##FFFFFF
##8D58D71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D74DB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#7D738F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d58d7;
/* rgb */ color: rgb(141, 88, 215);
/* oklch */ color: oklch(58.0% 0.188 299.8);
Tailwind
colors: {
  custom: {
    50: '#b389e4',
    500: '#8d58d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d58d7;
$custom-light: #b389e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58d7",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 265.039,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.18795,
    "h": 299.8
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#8D58D7
secondary
#C9DEAD
accent
#E443A1
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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