#8F59EC#8F59EC

#8F59EC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.211 H 296.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F59EC
RGBrgb(143, 89, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 62%, 93%)
CMYKcmyk(39.4%, 62.3%, 0%, 7.5%)
CIE-LABlab(50.73, 52.92, -66.48)
CIE-LCHlch(50.73, 84.98, 308.52°)
OKLaboklab(59.81% 0.0938 -0.1894)
OKLCHoklch(59.81% 0.211 296.3)
XYZxyz(30.0365, 19.0400, 81.4332)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59EC #B6EC59
analogous
#596CEC #8F59EC #D859EC
triadic
#8F59EC #EC8F59 #59EC8F
tetradic
#8F59EC #EC596C #B6EC59 #59ECD8
square
#8F59EC #EC596C #B6EC59 #59ECD8
split-complementary
#8F59EC #ECD859 #6CEC59
monochromatic
#5015B6 #6A22E6 #8F59EC #B490F2 #D9C7F9

Accessibility & contrast

On white

4.37
#8F59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8F59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59EC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59EC#FFFFFF#000000##000000
##8F59EC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#787A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f59ec;
/* rgb */ color: rgb(143, 89, 236);
/* oklch */ color: oklch(59.8% 0.211 296.3);
Tailwind
colors: {
  custom: {
    50: '#b68bf3',
    500: '#8f59ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f59ec;
$custom-light: #b68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59ec",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 262.041,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.21139,
    "h": 296.3
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#8F59EC
secondary
#D7EAB6
accent
#DC0A8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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