#8F58E1#8F58E1

#8F58E1 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.200 H 298.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8F58E1
RGBrgb(143, 88, 225)
HSLhsl(264, 70%, 61%)
HSVhsv(264, 61%, 88%)
CMYKcmyk(36.4%, 60.9%, 0%, 11.8%)
CIE-LABlab(49.80, 50.65, -61.79)
CIE-LCHlch(49.80, 79.89, 309.34°)
OKLaboklab(58.9% 0.0956 -0.1756)
OKLCHoklch(58.9% 0.2 298.6)
XYZxyz(28.4046, 18.2550, 73.2466)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58E1 #AAE158
analogous
#5866E1 #8F58E1 #D458E1
triadic
#8F58E1 #E18F58 #58E18F
tetradic
#8F58E1 #E15866 #AAE158 #58E1D4
square
#8F58E1 #E15866 #AAE158 #58E1D4
split-complementary
#8F58E1 #E1D458 #66E158
monochromatic
#521DA2 #6D26D5 #8F58E1 #B28CEA #D5C0F4

Accessibility & contrast

On white

4.52
#8F58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8F58E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58E1#FFFFFF#000000##000000
##8F58E11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#1E75DE
Tritanopia (blue-blind)
#7C7694
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f58e1;
/* rgb */ color: rgb(143, 88, 225);
/* oklch */ color: oklch(58.9% 0.200 298.6);
Tailwind
colors: {
  custom: {
    50: '#b58aeb',
    500: '#8f58e1',
    950: '#000000',
  },
}
SCSS
$custom: #8f58e1;
$custom-light: #b58aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58e1",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 264.088,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.19997,
    "h": 298.6
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#8F58E1
secondary
#CFE4B1
accent
#D21485
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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