#8A58DC#8A58DC

#8A58DC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.193 H 297.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A58DC
RGBrgb(138, 88, 220)
HSLhsl(263, 65%, 60%)
HSVhsv(263, 60%, 86%)
CMYKcmyk(37.3%, 60%, 0%, 13.7%)
CIE-LABlab(48.95, 48.28, -60.37)
CIE-LCHlch(48.95, 77.30, 308.66°)
OKLaboklab(58.05% 0.0893 -0.1716)
OKLCHoklch(58.05% 0.193 297.5)
XYZxyz(26.8860, 17.5496, 69.6672)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58DC #AADC58
analogous
#5868DC #8A58DC #CC58DC
triadic
#8A58DC #DC8A58 #58DC8A
tetradic
#8A58DC #DC5868 #AADC58 #58DCCC
square
#8A58DC #DC5868 #AADC58 #58DCCC
split-complementary
#8A58DC #DCCC58 #68DC58
monochromatic
#4E2099 #682BCC #8A58DC #AD8BE7 #D1BDF1

Accessibility & contrast

On white

4.66
#8A58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58DC#FFFFFF#000000##FFFFFF
##8A58DC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#777592
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a58dc;
/* rgb */ color: rgb(138, 88, 220);
/* oklch */ color: oklch(58.0% 0.193 297.5);
Tailwind
colors: {
  custom: {
    50: '#b189e8',
    500: '#8a58dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a58dc;
$custom-light: #b189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58dc",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 262.727,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.19345,
    "h": 297.5
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#8A58DC
secondary
#CEE1AF
accent
#CD1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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