#8A59E2#8A59E2

#8A59E2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.199 H 296.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A59E2
RGBrgb(138, 89, 226)
HSLhsl(261, 70%, 62%)
HSVhsv(261, 61%, 89%)
CMYKcmyk(38.9%, 60.6%, 0%, 11.4%)
CIE-LABlab(49.54, 49.30, -62.80)
CIE-LCHlch(49.54, 79.84, 308.13°)
OKLaboklab(58.61% 0.0879 -0.1788)
OKLCHoklch(58.61% 0.199 296.2)
XYZxyz(27.7775, 18.0385, 73.9550)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59E2 #B1E259
analogous
#596DE2 #8A59E2 #CF59E2
triadic
#8A59E2 #E28A59 #59E28A
tetradic
#8A59E2 #E2596D #B1E259 #59E2CF
square
#8A59E2 #E2596D #B1E259 #59E2CF
split-complementary
#8A59E2 #E2CF59 #6DE259
monochromatic
#4D1DA4 #6626D8 #8A59E2 #AF8DEB #D3C1F4

Accessibility & contrast

On white

4.56
#8A59E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A59E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59E2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59E2#FFFFFF#000000##000000
##8A59E21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#1274DF
Tritanopia (blue-blind)
#747795
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a59e2;
/* rgb */ color: rgb(138, 89, 226);
/* oklch */ color: oklch(58.6% 0.199 296.2);
Tailwind
colors: {
  custom: {
    50: '#b28aec',
    500: '#8a59e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a59e2;
$custom-light: #b28aec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59e2",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 261.46,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.1992,
    "h": 296.2
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#8A59E2
secondary
#D3E5B2
accent
#D2138E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59E2

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

Preview Lab → · Contrast checker → · Palette generator →

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