#8D58D4#8D58D4

#8D58D4 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.184 H 300.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D58D4
RGBrgb(141, 88, 212)
HSLhsl(266, 59%, 59%)
HSVhsv(266, 58%, 83%)
CMYKcmyk(33.5%, 58.5%, 0%, 16.9%)
CIE-LABlab(48.75, 46.93, -56.10)
CIE-LCHlch(48.75, 73.14, 309.91°)
OKLaboklab(57.82% 0.0934 -0.159)
OKLCHoklch(57.82% 0.184 300.4)
XYZxyz(26.3550, 17.3955, 64.2438)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58D4 #9FD458
analogous
#5861D4 #8D58D4 #CB58D4
triadic
#8D58D4 #D48D58 #58D48D
tetradic
#8D58D4 #D45861 #9FD458 #58D4CB
square
#8D58D4 #D45861 #9FD458 #58D4CB
split-complementary
#8D58D4 #D4CB58 #61D458
monochromatic
#51248D #6D31BE #8D58D4 #AE89E1 #CFB9ED

Accessibility & contrast

On white

4.69
#8D58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8D58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D58D4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58D4#FFFFFF#000000##FFFFFF
##8D58D41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1773D8
Deuteranopia (green-blind)
#3273D1
Tritanopia (blue-blind)
#7E728E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d58d4;
/* rgb */ color: rgb(141, 88, 212);
/* oklch */ color: oklch(57.8% 0.184 300.4);
Tailwind
colors: {
  custom: {
    50: '#b289e2',
    500: '#8d58d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d58d4;
$custom-light: #b289e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58d4",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 265.645,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.18439,
    "h": 300.4
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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