#8F58E9#8F58E9

#8F58E9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.209 H 297.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F58E9
RGBrgb(143, 88, 233)
HSLhsl(263, 77%, 63%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(38.6%, 62.2%, 0%, 8.6%)
CIE-LABlab(50.34, 52.68, -65.44)
CIE-LCHlch(50.34, 84.01, 308.83°)
OKLaboklab(59.46% 0.0951 -0.1864)
OKLCHoklch(59.46% 0.209 297)
XYZxyz(29.5216, 18.7018, 79.1294)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58E9 #B2E958
analogous
#5869E9 #8F58E9 #D858E9
triadic
#8F58E9 #E98F58 #58E98F
tetradic
#8F58E9 #E95869 #B2E958 #58E9D8
square
#8F58E9 #E95869 #B2E958 #58E9D8
split-complementary
#8F58E9 #E9D858 #69E958
monochromatic
#5117AF #6B22E2 #8F58E9 #B38EF0 #D8C4F7

Accessibility & contrast

On white

4.43
#8F58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8F58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58E9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58E9#FFFFFF#000000##000000
##8F58E91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#797999
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f58e9;
/* rgb */ color: rgb(143, 88, 233);
/* oklch */ color: oklch(59.5% 0.209 297.0);
Tailwind
colors: {
  custom: {
    50: '#b58af1',
    500: '#8f58e9',
    950: '#000000',
  },
}
SCSS
$custom: #8f58e9;
$custom-light: #b58af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58e9",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 262.759,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.20924,
    "h": 297
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#8F58E9
secondary
#D5E8B4
accent
#D90D8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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