#8F58BC#8F58BC

#8F58BC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.156 H 307.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8F58BC
RGBrgb(143, 88, 188)
HSLhsl(273, 43%, 54%)
HSVhsv(273, 53%, 74%)
CMYKcmyk(23.9%, 53.2%, 0%, 26.3%)
CIE-LABlab(47.56, 41.59, -44.18)
CIE-LCHlch(47.56, 60.68, 313.27°)
OKLaboklab(56.53% 0.0953 -0.124)
OKLCHoklch(56.53% 0.156 307.5)
XYZxyz(23.8927, 16.4502, 49.4837)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58BC #85BC58
analogous
#5D58BC #8F58BC #BC58B7
triadic
#8F58BC #BC8F58 #58BC8F
tetradic
#8F58BC #BC5D58 #85BC58 #58B7BC
square
#8F58BC #BC5D58 #85BC58 #58B7BC
split-complementary
#8F58BC #B7BC58 #58BC5D
monochromatic
#502C6E #703E99 #8F58BC #AC84CE #CAAFDF

Accessibility & contrast

On white

4.90
#8F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58BC#FFFFFF#000000##FFFFFF
##8F58BC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#886A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f58bc;
/* rgb */ color: rgb(143, 88, 188);
/* oklch */ color: oklch(56.5% 0.156 307.5);
Tailwind
colors: {
  custom: {
    50: '#b289d1',
    500: '#8f58bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f58bc;
$custom-light: #b289d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58bc",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 273,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.15639,
    "h": 307.5
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#8F58BC
secondary
#B6CDA3
accent
#D3558E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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