#8A58BF#8A58BF

#8A58BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.159 H 304.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A58BF
RGBrgb(138, 88, 191)
HSLhsl(269, 45%, 55%)
HSVhsv(269, 54%, 75%)
CMYKcmyk(27.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(47.16, 41.00, -46.59)
CIE-LCHlch(47.16, 62.06, 311.35°)
OKLaboklab(56.17% 0.0891 -0.1312)
OKLCHoklch(56.17% 0.159 304.2)
XYZxyz(23.3729, 16.1444, 51.1650)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58BF #8DBF58
analogous
#585ABF #8A58BF #BE58BF
triadic
#8A58BF #BF8A58 #58BF8A
tetradic
#8A58BF #BF585A #8DBF58 #58BFBE
square
#8A58BF #BF585A #8DBF58 #58BFBE
split-complementary
#8A58BF #BFBE58 #5ABF58
monochromatic
#4D2B71 #6B3C9D #8A58BF #A984D0 #C8B0E1

Accessibility & contrast

On white

4.97
#8A58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8A58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58BF#FFFFFF#000000##FFFFFF
##8A58BF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#816B83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a58bf;
/* rgb */ color: rgb(138, 88, 191);
/* oklch */ color: oklch(56.2% 0.159 304.2);
Tailwind
colors: {
  custom: {
    50: '#af89d3',
    500: '#8a58bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a58bf;
$custom-light: #af89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58bf",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 269.126,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.15858,
    "h": 304.2
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#8A58BF
secondary
#BACFA4
accent
#D45496
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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