#8F58C0#8F58C0

#8F58C0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.161 H 306.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F58C0
RGBrgb(143, 88, 192)
HSLhsl(272, 45%, 55%)
HSVhsv(272, 54%, 75%)
CMYKcmyk(25.5%, 54.2%, 0%, 24.7%)
CIE-LABlab(47.78, 42.54, -46.14)
CIE-LCHlch(47.78, 62.76, 312.67°)
OKLaboklab(56.77% 0.0955 -0.1297)
OKLCHoklch(56.77% 0.161 306.4)
XYZxyz(24.3299, 16.6251, 51.7862)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58C0 #89C058
analogous
#5B58C0 #8F58C0 #C058BD
triadic
#8F58C0 #C08F58 #58C08F
tetradic
#8F58C0 #C05B58 #89C058 #58BDC0
square
#8F58C0 #C05B58 #89C058 #58BDC0
split-complementary
#8F58C0 #BDC058 #58C05B
monochromatic
#512B72 #703C9F #8F58C0 #AD84D1 #CBB1E2

Accessibility & contrast

On white

4.86
#8F58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F58C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58C0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58C0#FFFFFF#000000##FFFFFF
##8F58C01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#876B84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f58c0;
/* rgb */ color: rgb(143, 88, 192);
/* oklch */ color: oklch(56.8% 0.161 306.4);
Tailwind
colors: {
  custom: {
    50: '#b289d3',
    500: '#8f58c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f58c0;
$custom-light: #b289d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58c0",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 271.731,
    "s": 45.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.16112,
    "h": 306.4
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#8F58C0
secondary
#B9D0A4
accent
#D55390
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F58C0

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

Preview Lab → · Contrast checker → · Palette generator →

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