#8A59CF#8A59CF

#8A59CF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.176 H 300.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A59CF
RGBrgb(138, 89, 207)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.3%, 57%, 0%, 18.8%)
CIE-LABlab(48.33, 44.42, -53.95)
CIE-LCHlch(48.33, 69.88, 309.47°)
OKLaboklab(57.33% 0.0883 -0.1528)
OKLCHoklch(57.33% 0.176 300)
XYZxyz(25.3134, 17.0528, 60.9773)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59CF #9ECF59
analogous
#5963CF #8A59CF #C559CF
triadic
#8A59CF #CF8A59 #59CF8A
tetradic
#8A59CF #CF5963 #9ECF59 #59CFC5
square
#8A59CF #CF5963 #9ECF59 #59CFC5
split-complementary
#8A59CF #CFC559 #63CF59
monochromatic
#4F2787 #6A35B6 #8A59CF #AB88DD #CDB8EA

Accessibility & contrast

On white

4.76
#8A59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A59CF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59CF#FFFFFF#000000##FFFFFF
##8A59CF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#7C718B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a59cf;
/* rgb */ color: rgb(138, 89, 207);
/* oklch */ color: oklch(57.3% 0.176 300.0);
Tailwind
colors: {
  custom: {
    50: '#b08ade',
    500: '#8a59cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a59cf;
$custom-light: #b08ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59cf",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 264.915,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.17644,
    "h": 300
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#8A59CF
secondary
#C6D9AA
accent
#DE49A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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