#8D58E9#8D58E9

#8D58E9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.209 H 296.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D58E9
RGBrgb(141, 88, 233)
HSLhsl(262, 77%, 63%)
HSVhsv(262, 62%, 91%)
CMYKcmyk(39.5%, 62.2%, 0%, 8.6%)
CIE-LABlab(50.13, 52.27, -65.79)
CIE-LCHlch(50.13, 84.03, 308.47°)
OKLaboklab(59.25% 0.0925 -0.1875)
OKLCHoklch(59.25% 0.209 296.3)
XYZxyz(29.1784, 18.5248, 79.1133)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58E9 #B4E958
analogous
#586BE9 #8D58E9 #D658E9
triadic
#8D58E9 #E98D58 #58E98D
tetradic
#8D58E9 #E9586B #B4E958 #58E9D6
square
#8D58E9 #E9586B #B4E958 #58E9D6
split-complementary
#8D58E9 #E9D658 #6BE958
monochromatic
#4F17AF #6822E2 #8D58E9 #B28EF0 #D7C4F7

Accessibility & contrast

On white

4.46
#8D58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8D58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58E9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58E9#FFFFFF#000000##000000
##8D58E91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#767999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d58e9;
/* rgb */ color: rgb(141, 88, 233);
/* oklch */ color: oklch(59.3% 0.209 296.3);
Tailwind
colors: {
  custom: {
    50: '#b48af1',
    500: '#8d58e9',
    950: '#000000',
  },
}
SCSS
$custom: #8d58e9;
$custom-light: #b48af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58e9",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 261.931,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.20903,
    "h": 296.3
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#8D58E9
secondary
#D5E8B4
accent
#D90D8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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