#8A58D5#8A58D5

#8A58D5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.185 H 298.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A58D5
RGBrgb(138, 88, 213)
HSLhsl(264, 60%, 59%)
HSVhsv(264, 59%, 84%)
CMYKcmyk(35.2%, 58.7%, 0%, 16.5%)
CIE-LABlab(48.49, 46.49, -57.11)
CIE-LCHlch(48.49, 73.64, 309.15°)
OKLaboklab(57.57% 0.0895 -0.162)
OKLCHoklch(57.57% 0.185 298.9)
XYZxyz(25.9782, 17.1865, 64.8866)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58D5 #A3D558
analogous
#5865D5 #8A58D5 #C958D5
triadic
#8A58D5 #D58A58 #58D58A
tetradic
#8A58D5 #D55865 #A3D558 #58D5C9
square
#8A58D5 #D55865 #A3D558 #58D5C9
split-complementary
#8A58D5 #D5C958 #65D558
monochromatic
#4F248F #6A30C0 #8A58D5 #AC89E1 #CFBAEE

Accessibility & contrast

On white

4.73
#8A58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8A58D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58D5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58D5#FFFFFF#000000##FFFFFF
##8A58D51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1073D9
Deuteranopia (green-blind)
#2C72D2
Tritanopia (blue-blind)
#79728E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a58d5;
/* rgb */ color: rgb(138, 88, 213);
/* oklch */ color: oklch(57.6% 0.185 298.9);
Tailwind
colors: {
  custom: {
    50: '#b189e3',
    500: '#8a58d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a58d5;
$custom-light: #b189e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58d5",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 264,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.1851,
    "h": 298.9
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#8A58D5
secondary
#C9DDAC
accent
#E345A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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