#8D58D3#8D58D3

#8D58D3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.183 H 300.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D58D3
RGBrgb(141, 88, 211)
HSLhsl(266, 58%, 59%)
HSVhsv(266, 58%, 83%)
CMYKcmyk(33.2%, 58.3%, 0%, 17.3%)
CIE-LABlab(48.69, 46.68, -55.63)
CIE-LCHlch(48.69, 72.62, 310.00°)
OKLaboklab(57.75% 0.0934 -0.1576)
OKLCHoklch(57.75% 0.183 300.7)
XYZxyz(26.2293, 17.3452, 63.5815)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58D3 #9ED358
analogous
#5860D3 #8D58D3 #CB58D3
triadic
#8D58D3 #D38D58 #58D38D
tetradic
#8D58D3 #D35860 #9ED358 #58D3CB
square
#8D58D3 #D35860 #9ED358 #58D3CB
split-complementary
#8D58D3 #D3CB58 #60D358
monochromatic
#51258C #6D32BC #8D58D3 #AE88E0 #CFB9ED

Accessibility & contrast

On white

4.70
#8D58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8D58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58D3#FFFFFF#000000##FFFFFF
##8D58D31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1973D7
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#7F718D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d58d3;
/* rgb */ color: rgb(141, 88, 211);
/* oklch */ color: oklch(57.8% 0.183 300.7);
Tailwind
colors: {
  custom: {
    50: '#b289e1',
    500: '#8d58d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d58d3;
$custom-light: #b289e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58d3",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 265.854,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.18321,
    "h": 300.7
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#8D58D3
secondary
#C7DCAB
accent
#E2469F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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