#8F58BF#8F58BF

#8F58BF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.160 H 306.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F58BF
RGBrgb(143, 88, 191)
HSLhsl(272, 45%, 55%)
HSVhsv(272, 54%, 75%)
CMYKcmyk(25.1%, 53.9%, 0%, 25.1%)
CIE-LABlab(47.73, 42.30, -45.65)
CIE-LCHlch(47.73, 62.24, 312.82°)
OKLaboklab(56.71% 0.0955 -0.1283)
OKLCHoklch(56.71% 0.16 306.7)
XYZxyz(24.2194, 16.5809, 51.2046)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58BF #88BF58
analogous
#5C58BF #8F58BF #BF58BC
triadic
#8F58BF #BF8F58 #58BF8F
tetradic
#8F58BF #BF5C58 #88BF58 #58BCBF
square
#8F58BF #BF5C58 #88BF58 #58BCBF
split-complementary
#8F58BF #BCBF58 #58BF5C
monochromatic
#512B71 #703C9D #8F58BF #AD84D0 #CAB0E1

Accessibility & contrast

On white

4.87
#8F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F58BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58BF#FFFFFF#000000##FFFFFF
##8F58BF1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#876B83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f58bf;
/* rgb */ color: rgb(143, 88, 191);
/* oklch */ color: oklch(56.7% 0.160 306.7);
Tailwind
colors: {
  custom: {
    50: '#b289d3',
    500: '#8f58bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f58bf;
$custom-light: #b289d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58bf",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 272.039,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.15994,
    "h": 306.7
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#8F58BF
secondary
#B8CFA4
accent
#D45490
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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