#8D58DE#8D58DE

#8D58DE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.196 H 298.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8D58DE
RGBrgb(141, 88, 222)
HSLhsl(264, 67%, 61%)
HSVhsv(264, 60%, 87%)
CMYKcmyk(36.5%, 60.4%, 0%, 12.9%)
CIE-LABlab(49.39, 49.45, -60.76)
CIE-LCHlch(49.39, 78.34, 309.14°)
OKLaboklab(58.49% 0.0931 -0.1727)
OKLCHoklch(58.49% 0.196 298.3)
XYZxyz(27.6557, 17.9157, 71.0941)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58DE #A9DE58
analogous
#5866DE #8D58DE #D058DE
triadic
#8D58DE #DE8D58 #58DE8D
tetradic
#8D58DE #DE5866 #A9DE58 #58DED0
square
#8D58DE #DE5866 #A9DE58 #58DED0
split-complementary
#8D58DE #DED058 #66DE58
monochromatic
#511F9D #6B29D0 #8D58DE #B08BE8 #D3BEF2

Accessibility & contrast

On white

4.58
#8D58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8D58DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58DE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58DE#FFFFFF#000000##000000
##8D58DE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#7A7593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d58de;
/* rgb */ color: rgb(141, 88, 222);
/* oklch */ color: oklch(58.5% 0.196 298.3);
Tailwind
colors: {
  custom: {
    50: '#b389e9',
    500: '#8d58de',
    950: '#000000',
  },
}
SCSS
$custom: #8d58de;
$custom-light: #b389e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58de",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 263.731,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.19618,
    "h": 298.3
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#8D58DE
secondary
#CEE2B0
accent
#CF1786
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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