#8F59EF#8F59EF

#8F59EF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.215 H 295.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F59EF
RGBrgb(143, 89, 239)
HSLhsl(262, 82%, 64%)
HSVhsv(262, 63%, 94%)
CMYKcmyk(40.2%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.94, 53.69, -67.83)
CIE-LCHlch(50.94, 86.51, 308.36°)
OKLaboklab(60.02% 0.0935 -0.1934)
OKLCHoklch(60.02% 0.215 295.8)
XYZxyz(30.4760, 19.2158, 83.7480)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59EF #B9EF59
analogous
#596EEF #8F59EF #DA59EF
triadic
#8F59EF #EF8F59 #59EF8F
tetradic
#8F59EF #EF596E #B9EF59 #59EFDA
square
#8F59EF #EF596E #B9EF59 #59EFDA
split-complementary
#8F59EF #EFDA59 #6EEF59
monochromatic
#4F12BC #6921EA #8F59EF #B591F4 #DAC9FA

Accessibility & contrast

On white

4.34
#8F59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59EF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59EF#FFFFFF#000000##000000
##8F59EF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#777B9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f59ef;
/* rgb */ color: rgb(143, 89, 239);
/* oklch */ color: oklch(60.0% 0.215 295.8);
Tailwind
colors: {
  custom: {
    50: '#b68bf5',
    500: '#8f59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f59ef;
$custom-light: #b68bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59ef",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 261.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.21485,
    "h": 295.8
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#8F59EF
secondary
#D9ECB8
accent
#DF0791
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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