#8D58CD#8D58CD

#8D58CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.176 H 302.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D58CD
RGBrgb(141, 88, 205)
HSLhsl(267, 54%, 57%)
HSVhsv(267, 57%, 80%)
CMYKcmyk(31.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(48.32, 45.19, -52.79)
CIE-LCHlch(48.32, 69.49, 310.57°)
OKLaboklab(57.36% 0.0934 -0.1493)
OKLCHoklch(57.36% 0.176 302)
XYZxyz(25.4911, 17.0499, 59.6938)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58CD #98CD58
analogous
#585ECD #8D58CD #C758CD
triadic
#8D58CD #CD8D58 #58CD8D
tetradic
#8D58CD #CD585E #98CD58 #58CDC7
square
#8D58CD #CD585E #98CD58 #58CDC7
split-complementary
#8D58CD #CDC758 #5ECD58
monochromatic
#512783 #6E35B2 #8D58CD #AD87DB #CDB6E9

Accessibility & contrast

On white

4.76
#8D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8D58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58CD#FFFFFF#000000##FFFFFF
##8D58CD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#816F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d58cd;
/* rgb */ color: rgb(141, 88, 205);
/* oklch */ color: oklch(57.4% 0.176 302.0);
Tailwind
colors: {
  custom: {
    50: '#b289dd',
    500: '#8d58cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d58cd;
$custom-light: #b289dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58cd",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 267.179,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.17608,
    "h": 302
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#8D58CD
secondary
#C3D8A9
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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