#8F59EB#8F59EB

#8F59EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.210 H 296.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F59EB
RGBrgb(143, 89, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.1%, 62.1%, 0%, 7.8%)
CIE-LABlab(50.67, 52.67, -66.03)
CIE-LCHlch(50.67, 84.46, 308.58°)
OKLaboklab(59.74% 0.0939 -0.1881)
OKLCHoklch(59.74% 0.21 296.5)
XYZxyz(29.8916, 18.9820, 80.6702)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59EB #B5EB59
analogous
#596CEB #8F59EB #D859EB
triadic
#8F59EB #EB8F59 #59EB8F
tetradic
#8F59EB #EB596C #B5EB59 #59EBD8
square
#8F59EB #EB596C #B5EB59 #59EBD8
split-complementary
#8F59EB #EBD859 #6CEB59
monochromatic
#5016B4 #6A22E4 #8F59EB #B490F2 #D9C6F8

Accessibility & contrast

On white

4.38
#8F59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8F59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59EB#FFFFFF#000000##000000
##8F59EB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#787A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f59eb;
/* rgb */ color: rgb(143, 89, 235);
/* oklch */ color: oklch(59.7% 0.210 296.5);
Tailwind
colors: {
  custom: {
    50: '#b68af2',
    500: '#8f59eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f59eb;
$custom-light: #b68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59eb",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 262.192,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.21023,
    "h": 296.5
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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