#8F58EB#8F58EB

#8F58EB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.212 H 296.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8F58EB
RGBrgb(143, 88, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.1%, 62.6%, 0%, 7.8%)
CIE-LABlab(50.47, 53.19, -66.35)
CIE-LCHlch(50.47, 85.04, 308.72°)
OKLaboklab(59.6% 0.0949 -0.189)
OKLCHoklch(59.6% 0.212 296.7)
XYZxyz(29.8089, 18.8167, 80.6426)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58EB #B4EB58
analogous
#586AEB #8F58EB #D858EB
triadic
#8F58EB #EB8F58 #58EB8F
tetradic
#8F58EB #EB586A #B4EB58 #58EBD8
square
#8F58EB #EB586A #B4EB58 #58EBD8
split-complementary
#8F58EB #EBD858 #6AEB58
monochromatic
#5015B3 #6A21E4 #8F58EB #B48FF2 #D8C5F8

Accessibility & contrast

On white

4.41
#8F58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8F58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58EB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58EB#FFFFFF#000000##000000
##8F58EB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#78799A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f58eb;
/* rgb */ color: rgb(143, 88, 235);
/* oklch */ color: oklch(59.6% 0.212 296.7);
Tailwind
colors: {
  custom: {
    50: '#b68af2',
    500: '#8f58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f58eb;
$custom-light: #b68af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58eb",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 262.449,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.21154,
    "h": 296.7
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#8F58EB
secondary
#D6EAB5
accent
#DB0B8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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