#8A59E7#8A59E7

#8A59E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.205 H 295.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A59E7
RGBrgb(138, 89, 231)
HSLhsl(261, 75%, 63%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(40.3%, 61.5%, 0%, 9.4%)
CIE-LABlab(49.88, 50.60, -65.08)
CIE-LCHlch(49.88, 82.44, 307.87°)
OKLaboklab(58.96% 0.0876 -0.1855)
OKLCHoklch(58.96% 0.205 295.3)
XYZxyz(28.4736, 18.3169, 77.6211)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59E7 #B6E759
analogous
#596FE7 #8A59E7 #D159E7
triadic
#8A59E7 #E78A59 #59E78A
tetradic
#8A59E7 #E7596F #B6E759 #59E7D1
square
#8A59E7 #E7596F #B6E759 #59E7D1
split-complementary
#8A59E7 #E7D159 #6FE759
monochromatic
#4C19AD #6424DF #8A59E7 #B08EEF #D5C4F6

Accessibility & contrast

On white

4.50
#8A59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59E7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59E7#FFFFFF#000000##000000
##8A59E71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a59e7;
/* rgb */ color: rgb(138, 89, 231);
/* oklch */ color: oklch(59.0% 0.205 295.3);
Tailwind
colors: {
  custom: {
    50: '#b28aef',
    500: '#8a59e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a59e7;
$custom-light: #b28aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59e7",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 260.704,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.20511,
    "h": 295.3
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#8A59E7
secondary
#D6E8B4
accent
#D70F92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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