#8A58EB#8A58EB

#8A58EB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.211 H 294.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A58EB
RGBrgb(138, 88, 235)
HSLhsl(260, 79%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(41.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.95, 52.18, -67.21)
CIE-LCHlch(49.95, 85.09, 307.82°)
OKLaboklab(59.1% 0.0884 -0.1917)
OKLCHoklch(59.1% 0.211 294.7)
XYZxyz(28.9624, 18.3802, 80.6029)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58EB #B9EB58
analogous
#586FEB #8A58EB #D358EB
triadic
#8A58EB #EB8A58 #58EB8A
tetradic
#8A58EB #EB586F #B9EB58 #58EBD3
square
#8A58EB #EB586F #B9EB58 #58EBD3
split-complementary
#8A58EB #EBD358 #6FEB58
monochromatic
#4B15B3 #6421E4 #8A58EB #B08FF2 #D7C5F8

Accessibility & contrast

On white

4.49
#8A58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58EB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58EB#FFFFFF#000000##000000
##8A58EB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#707A9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a58eb;
/* rgb */ color: rgb(138, 88, 235);
/* oklch */ color: oklch(59.1% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#b28af2',
    500: '#8a58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a58eb;
$custom-light: #b28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58eb",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 260.408,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.21112,
    "h": 294.7
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#8A58EB
secondary
#D8EAB5
accent
#DB0B94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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