#8B59E4#8B59E4

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

Color values

HEX#8B59E4
RGBrgb(139, 89, 228)
HSLhsl(262, 72%, 62%)
HSVhsv(262, 61%, 89%)
CMYKcmyk(39%, 61%, 0%, 10.6%)
CIE-LABlab(49.78, 50.03, -63.54)
CIE-LCHlch(49.78, 80.87, 308.21°)
OKLaboklab(58.85% 0.0891 -0.1809)
OKLCHoklch(58.85% 0.202 296.2)
XYZxyz(28.2198, 18.2346, 75.4166)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59E4 #B2E459
analogous
#596CE4 #8B59E4 #D159E4
triadic
#8B59E4 #E48B59 #59E48B
tetradic
#8B59E4 #E4596C #B2E459 #59E4D1
square
#8B59E4 #E4596C #B2E459 #59E4D1
split-complementary
#8B59E4 #E4D159 #6CE459
monochromatic
#4E1BA7 #6624DB #8B59E4 #B08EED #D5C2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B59E4#FFFFFF#000000##000000
##8B59E41.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)
#0077E8
Deuteranopia (green-blind)
#0D75E1
Tritanopia (blue-blind)
#757896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b59e4;
/* rgb */ color: rgb(139, 89, 228);
/* oklch */ color: oklch(58.8% 0.202 296.2);
Tailwind
colors: {
  custom: {
    50: '#b28aed',
    500: '#8b59e4',
    950: '#000000',
  },
}
SCSS
$custom: #8b59e4;
$custom-light: #b28aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59e4",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 261.583,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.20166,
    "h": 296.2
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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