#8A59DC#8A59DC

#8A59DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.192 H 297.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A59DC
RGBrgb(138, 89, 220)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(37.3%, 59.5%, 0%, 13.7%)
CIE-LABlab(49.15, 47.74, -60.04)
CIE-LCHlch(49.15, 76.71, 308.49°)
OKLaboklab(58.2% 0.0881 -0.1706)
OKLCHoklch(58.2% 0.192 297.3)
XYZxyz(26.9686, 17.7149, 69.6947)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59DC #ABDC59
analogous
#5969DC #8A59DC #CC59DC
triadic
#8A59DC #DC8A59 #59DC8A
tetradic
#8A59DC #DC5969 #ABDC59 #59DCCC
square
#8A59DC #DC5969 #ABDC59 #59DCCC
split-complementary
#8A59DC #DCCC59 #69DC59
monochromatic
#4E209A #682BCD #8A59DC #AE8CE7 #D1BEF1

Accessibility & contrast

On white

4.62
#8A59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59DC#FFFFFF#000000##FFFFFF
##8A59DC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#777592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a59dc;
/* rgb */ color: rgb(138, 89, 220);
/* oklch */ color: oklch(58.2% 0.192 297.3);
Tailwind
colors: {
  custom: {
    50: '#b18ae8',
    500: '#8a59dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a59dc;
$custom-light: #b18ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59dc",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 262.443,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.19205,
    "h": 297.3
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#8A59DC
secondary
#CFE1AF
accent
#CD1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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