#8D58DC#8D58DC

#8D58DC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.194 H 298.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D58DC
RGBrgb(141, 88, 220)
HSLhsl(264, 65%, 60%)
HSVhsv(264, 60%, 86%)
CMYKcmyk(35.9%, 60%, 0%, 13.7%)
CIE-LABlab(49.26, 48.95, -59.84)
CIE-LCHlch(49.26, 77.30, 309.28°)
OKLaboklab(58.35% 0.0932 -0.17)
OKLCHoklch(58.35% 0.194 298.7)
XYZxyz(27.3893, 17.8092, 69.6908)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58DC #A7DC58
analogous
#5865DC #8D58DC #CF58DC
triadic
#8D58DC #DC8D58 #58DC8D
tetradic
#8D58DC #DC5865 #A7DC58 #58DCCF
square
#8D58DC #DC5865 #A7DC58 #58DCCF
split-complementary
#8D58DC #DCCF58 #65DC58
monochromatic
#512099 #6C2BCC #8D58DC #B08BE7 #D2BDF1

Accessibility & contrast

On white

4.60
#8D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58DC#FFFFFF#000000##FFFFFF
##8D58DC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#7B7492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d58dc;
/* rgb */ color: rgb(141, 88, 220);
/* oklch */ color: oklch(58.4% 0.194 298.7);
Tailwind
colors: {
  custom: {
    50: '#b389e8',
    500: '#8d58dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d58dc;
$custom-light: #b389e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58dc",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 264.091,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.19384,
    "h": 298.7
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#8D58DC
secondary
#CDE1AF
accent
#CD1885
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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