#8A58D0#8A58D0

#8A58D0 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.179 H 300.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A58D0
RGBrgb(138, 88, 208)
HSLhsl(265, 56%, 58%)
HSVhsv(265, 58%, 82%)
CMYKcmyk(33.7%, 57.7%, 0%, 18.4%)
CIE-LABlab(48.18, 45.22, -54.75)
CIE-LCHlch(48.18, 71.02, 309.55°)
OKLaboklab(57.24% 0.0895 -0.1551)
OKLCHoklch(57.24% 0.179 300)
XYZxyz(25.3534, 16.9366, 61.5956)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58D0 #9ED058
analogous
#5862D0 #8A58D0 #C658D0
triadic
#8A58D0 #D08A58 #58D08A
tetradic
#8A58D0 #D05862 #9ED058 #58D0C6
square
#8A58D0 #D05862 #9ED058 #58D0C6
split-complementary
#8A58D0 #D0C658 #62D058
monochromatic
#4F2687 #6A34B7 #8A58D0 #AB88DD #CDB8EB

Accessibility & contrast

On white

4.79
#8A58D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8A58D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58D0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58D0#FFFFFF#000000##FFFFFF
##8A58D01.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D4
Deuteranopia (green-blind)
#3372CD
Tritanopia (blue-blind)
#7B718C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a58d0;
/* rgb */ color: rgb(138, 88, 208);
/* oklch */ color: oklch(57.2% 0.179 300.0);
Tailwind
colors: {
  custom: {
    50: '#b089df',
    500: '#8a58d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a58d0;
$custom-light: #b089df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58d0",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 265,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.17911,
    "h": 300
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#8A58D0
secondary
#C6DAAA
accent
#DF48A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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