#8A59BF#8A59BF

#8A59BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.157 H 304.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A59BF
RGBrgb(138, 89, 191)
HSLhsl(269, 44%, 55%)
HSVhsv(269, 53%, 75%)
CMYKcmyk(27.7%, 53.4%, 0%, 25.1%)
CIE-LABlab(47.38, 40.44, -46.24)
CIE-LCHlch(47.38, 61.43, 311.17°)
OKLaboklab(56.33% 0.0878 -0.1302)
OKLCHoklch(56.33% 0.157 304)
XYZxyz(23.4555, 16.3097, 51.1925)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59BF #8EBF59
analogous
#595BBF #8A59BF #BD59BF
triadic
#8A59BF #BF8A59 #59BF8A
tetradic
#8A59BF #BF595B #8EBF59 #59BFBD
square
#8A59BF #BF595B #8EBF59 #59BFBD
split-complementary
#8A59BF #BFBD59 #5BBF59
monochromatic
#4D2C72 #6B3D9E #8A59BF #A985D0 #C8B1E1

Accessibility & contrast

On white

4.93
#8A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8A59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59BF#FFFFFF#000000##FFFFFF
##8A59BF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#4670BD
Tritanopia (blue-blind)
#816C83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a59bf;
/* rgb */ color: rgb(138, 89, 191);
/* oklch */ color: oklch(56.3% 0.157 304.0);
Tailwind
colors: {
  custom: {
    50: '#af89d3',
    500: '#8a59bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a59bf;
$custom-light: #af89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59bf",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 268.824,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.157,
    "h": 304
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#8A59BF
secondary
#BBCFA4
accent
#D45496
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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