#8F58ED#8F58ED

#8F58ED is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.214 H 296.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F58ED
RGBrgb(143, 88, 237)
HSLhsl(262, 81%, 64%)
HSVhsv(262, 63%, 93%)
CMYKcmyk(39.7%, 62.9%, 0%, 7.1%)
CIE-LABlab(50.61, 53.70, -67.25)
CIE-LCHlch(50.61, 86.06, 308.61°)
OKLaboklab(59.74% 0.0948 -0.1917)
OKLCHoklch(59.74% 0.214 296.3)
XYZxyz(30.0995, 18.9329, 82.1729)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58ED #B6ED58
analogous
#586BED #8F58ED #DA58ED
triadic
#8F58ED #ED8F58 #58ED8F
tetradic
#8F58ED #ED586B #B6ED58 #58EDDA
square
#8F58ED #ED586B #B6ED58 #58EDDA
split-complementary
#8F58ED #EDDA58 #6BED58
monochromatic
#5014B7 #6A21E7 #8F58ED #B48FF3 #D9C6F9

Accessibility & contrast

On white

4.39
#8F58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58ED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58ED#FFFFFF#000000##000000
##8F58ED1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#777A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f58ed;
/* rgb */ color: rgb(143, 88, 237);
/* oklch */ color: oklch(59.7% 0.214 296.3);
Tailwind
colors: {
  custom: {
    50: '#b68af4',
    500: '#8f58ed',
    950: '#000000',
  },
}
SCSS
$custom: #8f58ed;
$custom-light: #b68af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58ed",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 262.148,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.21384,
    "h": 296.3
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#8F58ED
secondary
#D7EBB6
accent
#DD098F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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