#8F58E5#8F58E5

#8F58E5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.205 H 297.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F58E5
RGBrgb(143, 88, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(37.6%, 61.6%, 0%, 10.2%)
CIE-LABlab(50.07, 51.66, -63.62)
CIE-LCHlch(50.07, 81.95, 309.08°)
OKLaboklab(59.18% 0.0954 -0.181)
OKLCHoklch(59.18% 0.205 297.8)
XYZxyz(28.9567, 18.4758, 76.1541)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58E5 #AEE558
analogous
#5868E5 #8F58E5 #D558E5
triadic
#8F58E5 #E58F58 #58E58F
tetradic
#8F58E5 #E55868 #AEE558 #58E5D5
square
#8F58E5 #E55868 #AEE558 #58E5D5
split-complementary
#8F58E5 #E5D558 #68E558
monochromatic
#521AA8 #6B23DD #8F58E5 #B38DED #D6C2F5

Accessibility & contrast

On white

4.47
#8F58E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8F58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58E5#FFFFFF#000000##000000
##8F58E51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#1276E2
Tritanopia (blue-blind)
#7B7796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f58e5;
/* rgb */ color: rgb(143, 88, 229);
/* oklch */ color: oklch(59.2% 0.205 297.8);
Tailwind
colors: {
  custom: {
    50: '#b58aee',
    500: '#8f58e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f58e5;
$custom-light: #b58aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58e5",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 263.404,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.20461,
    "h": 297.8
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#8F58E5
secondary
#D2E6B3
accent
#D51088
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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