#8A59DE#8A59DE

#8A59DE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.194 H 296.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A59DE
RGBrgb(138, 89, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(37.8%, 59.9%, 0%, 12.9%)
CIE-LABlab(49.28, 48.26, -60.96)
CIE-LCHlch(49.28, 77.75, 308.37°)
OKLaboklab(58.33% 0.088 -0.1734)
OKLCHoklch(58.33% 0.194 296.9)
XYZxyz(27.2351, 17.8215, 71.0981)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59DE #ADDE59
analogous
#596ADE #8A59DE #CC59DE
triadic
#8A59DE #DE8A59 #59DE8A
tetradic
#8A59DE #DE596A #ADDE59 #59DECC
square
#8A59DE #DE596A #ADDE59 #59DECC
split-complementary
#8A59DE #DECC59 #6ADE59
monochromatic
#4E1F9D #6729D0 #8A59DE #AE8CE8 #D2BFF2

Accessibility & contrast

On white

4.60
#8A59DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8A59DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59DE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59DE#FFFFFF#000000##FFFFFF
##8A59DE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#1E73DB
Tritanopia (blue-blind)
#767693
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a59de;
/* rgb */ color: rgb(138, 89, 222);
/* oklch */ color: oklch(58.3% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#b18ae9',
    500: '#8a59de',
    950: '#000000',
  },
}
SCSS
$custom: #8a59de;
$custom-light: #b18ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59de",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 262.105,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.19444,
    "h": 296.9
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#8A59DE
secondary
#D0E2B0
accent
#CF178B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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