#8B58E7#8B58E7

#8B58E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.207 H 295.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B58E7
RGBrgb(139, 88, 231)
HSLhsl(261, 75%, 63%)
HSVhsv(261, 62%, 91%)
CMYKcmyk(39.8%, 61.9%, 0%, 9.4%)
CIE-LABlab(49.78, 51.34, -65.23)
CIE-LCHlch(49.78, 83.01, 308.20°)
OKLaboklab(58.91% 0.09 -0.1859)
OKLCHoklch(58.91% 0.207 295.8)
XYZxyz(28.5572, 18.2374, 77.6014)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58E7 #B4E758
analogous
#586CE7 #8B58E7 #D358E7
triadic
#8B58E7 #E78B58 #58E78B
tetradic
#8B58E7 #E7586C #B4E758 #58E7D3
square
#8B58E7 #E7586C #B4E758 #58E7D3
split-complementary
#8B58E7 #E7D358 #6CE758
monochromatic
#4D19AC #6622DF #8B58E7 #B08EEF #D5C3F6

Accessibility & contrast

On white

4.52
#8B58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8B58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B58E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58E7#FFFFFF#000000##000000
##8B58E71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#747897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b58e7;
/* rgb */ color: rgb(139, 88, 231);
/* oklch */ color: oklch(58.9% 0.207 295.8);
Tailwind
colors: {
  custom: {
    50: '#b38aef',
    500: '#8b58e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b58e7;
$custom-light: #b38aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58e7",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 261.399,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.20652,
    "h": 295.8
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#8B58E7
secondary
#D5E7B3
accent
#D70E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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