#8F59EA#8F59EA

#8F59EA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.209 H 296.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F59EA
RGBrgb(143, 89, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(38.9%, 62%, 0%, 8.2%)
CIE-LABlab(50.60, 52.41, -65.58)
CIE-LCHlch(50.60, 83.95, 308.63°)
OKLaboklab(59.67% 0.0939 -0.1868)
OKLCHoklch(59.67% 0.209 296.7)
XYZxyz(29.7475, 18.9244, 79.9114)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59EA #B4EA59
analogous
#596BEA #8F59EA #D759EA
triadic
#8F59EA #EA8F59 #59EA8F
tetradic
#8F59EA #EA596B #B4EA59 #59EAD7
square
#8F59EA #EA596B #B4EA59 #59EAD7
split-complementary
#8F59EA #EAD759 #6BEA59
monochromatic
#5017B2 #6A23E3 #8F59EA #B48FF1 #D8C6F8

Accessibility & contrast

On white

4.39
#8F59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59EA#FFFFFF#000000##000000
##8F59EA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#797999
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f59ea;
/* rgb */ color: rgb(143, 89, 234);
/* oklch */ color: oklch(59.7% 0.209 296.7);
Tailwind
colors: {
  custom: {
    50: '#b68af2',
    500: '#8f59ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f59ea;
$custom-light: #b68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59ea",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 262.345,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.20907,
    "h": 296.7
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#8F59EA
secondary
#D6E9B6
accent
#DA0C8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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