#8A58BC#8A58BC

#8A58BC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.155 H 305.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A58BC
RGBrgb(138, 88, 188)
HSLhsl(270, 43%, 54%)
HSVhsv(270, 53%, 74%)
CMYKcmyk(26.6%, 53.2%, 0%, 26.3%)
CIE-LABlab(46.99, 40.27, -45.12)
CIE-LCHlch(46.99, 60.47, 311.75°)
OKLaboklab(55.99% 0.0889 -0.1269)
OKLCHoklch(55.99% 0.155 305)
XYZxyz(23.0461, 16.0137, 49.4440)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58BC #8ABC58
analogous
#5858BC #8A58BC #BC58BC
triadic
#8A58BC #BC8A58 #58BC8A
tetradic
#8A58BC #BC5858 #8ABC58 #58BCBC
square
#8A58BC #BC5858 #8ABC58 #58BCBC
split-complementary
#8A58BC #BCBC58 #58BC58
monochromatic
#4D2C6E #6B3E99 #8A58BC #A984CE #C7AFDF

Accessibility & contrast

On white

5.00
#8A58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58BC#FFFFFF#000000##FFFFFF
##8A58BC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#826A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a58bc;
/* rgb */ color: rgb(138, 88, 188);
/* oklch */ color: oklch(56.0% 0.155 305.0);
Tailwind
colors: {
  custom: {
    50: '#af89d1',
    500: '#8a58bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a58bc;
$custom-light: #af89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58bc",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.15493,
    "h": 305
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#8A58BC
secondary
#B8CDA3
accent
#D35594
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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