#8F58E7#8F58E7

#8F58E7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.207 H 297.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F58E7
RGBrgb(143, 88, 231)
HSLhsl(263, 75%, 63%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(38.1%, 61.9%, 0%, 9.4%)
CIE-LABlab(50.20, 52.17, -64.53)
CIE-LCHlch(50.20, 82.98, 308.95°)
OKLaboklab(59.31% 0.0952 -0.1837)
OKLCHoklch(59.31% 0.207 297.4)
XYZxyz(29.2375, 18.5881, 77.6333)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58E7 #B0E758
analogous
#5868E7 #8F58E7 #D758E7
triadic
#8F58E7 #E78F58 #58E78F
tetradic
#8F58E7 #E75868 #B0E758 #58E7D7
square
#8F58E7 #E75868 #B0E758 #58E7D7
split-complementary
#8F58E7 #E7D758 #68E758
monochromatic
#5119AC #6B22DF #8F58E7 #B38EEF #D7C3F6

Accessibility & contrast

On white

4.45
#8F58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8F58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58E7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58E7#FFFFFF#000000##000000
##8F58E71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0976E4
Tritanopia (blue-blind)
#7A7897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f58e7;
/* rgb */ color: rgb(143, 88, 231);
/* oklch */ color: oklch(59.3% 0.207 297.4);
Tailwind
colors: {
  custom: {
    50: '#b58aef',
    500: '#8f58e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f58e7;
$custom-light: #b58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58e7",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 263.077,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.20693,
    "h": 297.4
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#8F58E7
secondary
#D3E7B3
accent
#D70E8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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