#8B59E2#8B59E2

#8B59E2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.199 H 296.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B59E2
RGBrgb(139, 89, 226)
HSLhsl(262, 70%, 62%)
HSVhsv(262, 61%, 89%)
CMYKcmyk(38.5%, 60.6%, 0%, 11.4%)
CIE-LABlab(49.65, 49.51, -62.63)
CIE-LCHlch(49.65, 79.84, 308.33°)
OKLaboklab(58.71% 0.0892 -0.1782)
OKLCHoklch(58.71% 0.199 296.6)
XYZxyz(27.9438, 18.1242, 73.9628)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59E2 #B0E259
analogous
#596CE2 #8B59E2 #D059E2
triadic
#8B59E2 #E28B59 #59E28B
tetradic
#8B59E2 #E2596C #B0E259 #59E2D0
square
#8B59E2 #E2596C #B0E259 #59E2D0
split-complementary
#8B59E2 #E2D059 #6CE259
monochromatic
#4E1DA4 #6726D8 #8B59E2 #AF8DEB #D4C1F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B59E2#FFFFFF#000000##000000
##8B59E21.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)
#0077E6
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#767795
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b59e2;
/* rgb */ color: rgb(139, 89, 226);
/* oklch */ color: oklch(58.7% 0.199 296.6);
Tailwind
colors: {
  custom: {
    50: '#b28aec',
    500: '#8b59e2',
    950: '#000000',
  },
}
SCSS
$custom: #8b59e2;
$custom-light: #b28aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59e2",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 261.898,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.1993,
    "h": 296.6
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#8B59E2
secondary
#D2E5B2
accent
#D2138D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B59E2

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

Preview Lab → · Contrast checker → · Palette generator →

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