#8B58E5#8B58E5

#8B58E5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.204 H 296.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B58E5
RGBrgb(139, 88, 229)
HSLhsl(262, 73%, 62%)
HSVhsv(262, 62%, 90%)
CMYKcmyk(39.3%, 61.6%, 0%, 10.2%)
CIE-LABlab(49.65, 50.82, -64.32)
CIE-LCHlch(49.65, 81.98, 308.31°)
OKLaboklab(58.77% 0.0901 -0.1832)
OKLCHoklch(58.77% 0.204 296.2)
XYZxyz(28.2764, 18.1250, 76.1222)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58E5 #B2E558
analogous
#586CE5 #8B58E5 #D158E5
triadic
#8B58E5 #E58B58 #58E58B
tetradic
#8B58E5 #E5586C #B2E558 #58E5D1
square
#8B58E5 #E5586C #B2E558 #58E5D1
split-complementary
#8B58E5 #E5D158 #6CE558
monochromatic
#4E1AA8 #6623DD #8B58E5 #B08DED #D5C2F5

Accessibility & contrast

On white

4.54
#8B58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8B58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B58E5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58E5#FFFFFF#000000##000000
##8B58E51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0174E2
Tritanopia (blue-blind)
#757896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b58e5;
/* rgb */ color: rgb(139, 88, 229);
/* oklch */ color: oklch(58.8% 0.204 296.2);
Tailwind
colors: {
  custom: {
    50: '#b389ee',
    500: '#8b58e5',
    950: '#000000',
  },
}
SCSS
$custom: #8b58e5;
$custom-light: #b389ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58e5",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 261.702,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.20418,
    "h": 296.2
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#8B58E5
secondary
#D4E6B3
accent
#D5108E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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