#8F59E7#8F59E7

#8F59E7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.206 H 297.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F59E7
RGBrgb(143, 89, 231)
HSLhsl(263, 75%, 63%)
HSVhsv(263, 61%, 91%)
CMYKcmyk(38.1%, 61.5%, 0%, 9.4%)
CIE-LABlab(50.40, 51.65, -64.22)
CIE-LCHlch(50.40, 82.41, 308.81°)
OKLaboklab(59.46% 0.0941 -0.1828)
OKLCHoklch(59.46% 0.206 297.2)
XYZxyz(29.3202, 18.7534, 77.6608)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59E7 #B1E759
analogous
#596AE7 #8F59E7 #D659E7
triadic
#8F59E7 #E78F59 #59E78F
tetradic
#8F59E7 #E7596A #B1E759 #59E7D6
square
#8F59E7 #E7596A #B1E759 #59E7D6
split-complementary
#8F59E7 #E7D659 #6AE759
monochromatic
#5119AD #6B24DF #8F59E7 #B38EEF #D7C4F6

Accessibility & contrast

On white

4.42
#8F59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8F59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59E7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59E7#FFFFFF#000000##000000
##8F59E71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0F76E4
Tritanopia (blue-blind)
#7A7898
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f59e7;
/* rgb */ color: rgb(143, 89, 231);
/* oklch */ color: oklch(59.5% 0.206 297.2);
Tailwind
colors: {
  custom: {
    50: '#b58aef',
    500: '#8f59e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f59e7;
$custom-light: #b58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59e7",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 262.817,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.20559,
    "h": 297.2
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#8F59E7
secondary
#D4E8B4
accent
#D70F8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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