#8A59F0#8A59F0

#8A59F0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.216 H 293.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A59F0
RGBrgb(138, 89, 240)
HSLhsl(259, 83%, 65%)
HSVhsv(259, 63%, 94%)
CMYKcmyk(42.5%, 62.9%, 0%, 5.9%)
CIE-LABlab(50.50, 52.96, -69.13)
CIE-LCHlch(50.50, 87.09, 307.45°)
OKLaboklab(59.61% 0.0869 -0.1974)
OKLCHoklch(59.61% 0.216 293.8)
XYZxyz(29.7775, 18.8385, 84.4885)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A59F0 #BFF059
analogous
#5974F0 #8A59F0 #D559F0
triadic
#8A59F0 #F08A59 #59F08A
tetradic
#8A59F0 #F05974 #BFF059 #59F0D5
square
#8A59F0 #F05974 #BFF059 #59F0D5
split-complementary
#8A59F0 #F0D559 #74F059
monochromatic
#4911BD #6221EB #8A59F0 #B291F5 #D9C9FA

Accessibility & contrast

On white

4.40
#8A59F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8A59F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A59F0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A59F0#FFFFFF#000000##000000
##8A59F01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#6E7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a59f0;
/* rgb */ color: rgb(138, 89, 240);
/* oklch */ color: oklch(59.6% 0.216 293.8);
Tailwind
colors: {
  custom: {
    50: '#b38af6',
    500: '#8a59f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a59f0;
$custom-light: #b38af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a59f0",
  "rgb": {
    "r": 138,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 259.47,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.21567,
    "h": 293.8
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#8A59F0
secondary
#DCECB8
accent
#E00699
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A59F0

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

Preview Lab → · Contrast checker → · Palette generator →

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