#8F59E6#8F59E6

#8F59E6 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.204 H 297.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F59E6
RGBrgb(143, 89, 230)
HSLhsl(263, 74%, 63%)
HSVhsv(263, 61%, 90%)
CMYKcmyk(37.8%, 61.3%, 0%, 9.8%)
CIE-LABlab(50.33, 51.39, -63.76)
CIE-LCHlch(50.33, 81.89, 308.87°)
OKLaboklab(59.39% 0.0942 -0.1814)
OKLCHoklch(59.39% 0.204 297.4)
XYZxyz(29.1794, 18.6971, 76.9191)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59E6 #B0E659
analogous
#5969E6 #8F59E6 #D659E6
triadic
#8F59E6 #E68F59 #59E68F
tetradic
#8F59E6 #E65969 #B0E659 #59E6D6
square
#8F59E6 #E65969 #B0E659 #59E6D6
split-complementary
#8F59E6 #E6D659 #69E659
monochromatic
#511AAB #6B24DE #8F59E6 #B38EEE #D7C3F6

Accessibility & contrast

On white

4.43
#8F59E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8F59E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59E6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59E6#FFFFFF#000000##000000
##8F59E61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#1376E3
Tritanopia (blue-blind)
#7A7897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f59e6;
/* rgb */ color: rgb(143, 89, 230);
/* oklch */ color: oklch(59.4% 0.204 297.4);
Tailwind
colors: {
  custom: {
    50: '#b58aef',
    500: '#8f59e6',
    950: '#000000',
  },
}
SCSS
$custom: #8f59e6;
$custom-light: #b58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59e6",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 262.979,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.20443,
    "h": 297.4
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#8F59E6
secondary
#D3E7B4
accent
#D6108A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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