#8A59E4#8A59E4

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

Color values

HEX#8A59E4
RGBrgb(138, 89, 228)
HSLhsl(261, 72%, 62%)
HSVhsv(261, 61%, 89%)
CMYKcmyk(39.5%, 61%, 0%, 10.6%)
CIE-LABlab(49.68, 49.82, -63.72)
CIE-LCHlch(49.68, 80.88, 308.02°)
OKLaboklab(58.75% 0.0878 -0.1815)
OKLCHoklch(58.75% 0.202 295.8)
XYZxyz(28.0535, 18.1489, 75.4088)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59E4 #B3E459
analogous
#596EE4 #8A59E4 #D059E4
triadic
#8A59E4 #E48A59 #59E48A
tetradic
#8A59E4 #E4596E #B3E459 #59E4D0
square
#8A59E4 #E4596E #B3E459 #59E4D0
split-complementary
#8A59E4 #E4D059 #6EE459
monochromatic
#4D1BA7 #6524DB #8A59E4 #AF8EED #D4C2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A59E4#FFFFFF#000000##000000
##8A59E41.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)
#0077E8
Deuteranopia (green-blind)
#0874E1
Tritanopia (blue-blind)
#737896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a59e4;
/* rgb */ color: rgb(138, 89, 228);
/* oklch */ color: oklch(58.7% 0.202 295.8);
Tailwind
colors: {
  custom: {
    50: '#b28aed',
    500: '#8a59e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a59e4;
$custom-light: #b28aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59e4",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 261.151,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.20157,
    "h": 295.8
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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