#8B59E7#8B59E7

#8B59E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.205 H 295.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8B59E7
RGBrgb(139, 89, 231)
HSLhsl(261, 75%, 63%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(39.8%, 61.5%, 0%, 9.4%)
CIE-LABlab(49.98, 50.81, -64.91)
CIE-LCHlch(49.98, 82.43, 308.05°)
OKLaboklab(59.06% 0.0889 -0.1849)
OKLCHoklch(59.06% 0.205 295.7)
XYZxyz(28.6399, 18.4027, 77.6289)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59E7 #B5E759
analogous
#596EE7 #8B59E7 #D259E7
triadic
#8B59E7 #E78B59 #59E78B
tetradic
#8B59E7 #E7596E #B5E759 #59E7D2
square
#8B59E7 #E7596E #B5E759 #59E7D2
split-complementary
#8B59E7 #E7D259 #6EE759
monochromatic
#4D19AD #6624DF #8B59E7 #B08EEF #D6C4F6

Accessibility & contrast

On white

4.49
#8B59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8B59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B59E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59E7#FFFFFF#000000##000000
##8B59E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#747998
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b59e7;
/* rgb */ color: rgb(139, 89, 231);
/* oklch */ color: oklch(59.1% 0.205 295.7);
Tailwind
colors: {
  custom: {
    50: '#b38aef',
    500: '#8b59e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b59e7;
$custom-light: #b38aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59e7",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 261.127,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.2052,
    "h": 295.7
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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