#8F58E4#8F58E4

#8F58E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.203 H 298.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F58E4
RGBrgb(143, 88, 228)
HSLhsl(264, 72%, 62%)
HSVhsv(264, 61%, 89%)
CMYKcmyk(37.3%, 61.4%, 0%, 10.6%)
CIE-LABlab(50.00, 51.41, -63.16)
CIE-LCHlch(50.00, 81.44, 309.14°)
OKLaboklab(59.11% 0.0954 -0.1797)
OKLCHoklch(59.11% 0.203 298)
XYZxyz(28.8175, 18.4201, 75.4209)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58E4 #ADE458
analogous
#5867E4 #8F58E4 #D558E4
triadic
#8F58E4 #E48F58 #58E48F
tetradic
#8F58E4 #E45867 #ADE458 #58E4D5
square
#8F58E4 #E45867 #ADE458 #58E4D5
split-complementary
#8F58E4 #E4D558 #67E458
monochromatic
#521BA7 #6C23DB #8F58E4 #B28DED #D6C1F5

Accessibility & contrast

On white

4.48
#8F58E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8F58E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58E4#FFFFFF#000000##000000
##8F58E41.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1675E1
Tritanopia (blue-blind)
#7B7796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f58e4;
/* rgb */ color: rgb(143, 88, 228);
/* oklch */ color: oklch(59.1% 0.203 298.0);
Tailwind
colors: {
  custom: {
    50: '#b58aed',
    500: '#8f58e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f58e4;
$custom-light: #b58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58e4",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 263.571,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.20345,
    "h": 298
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#8F58E4
secondary
#D1E6B2
accent
#D41188
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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