#8A58EA#8A58EA

#8A58EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.210 H 294.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A58EA
RGBrgb(138, 88, 234)
HSLhsl(261, 78%, 63%)
HSVhsv(261, 62%, 92%)
CMYKcmyk(41%, 62.4%, 0%, 8.2%)
CIE-LABlab(49.89, 51.92, -66.76)
CIE-LCHlch(49.89, 84.57, 307.87°)
OKLaboklab(59.03% 0.0884 -0.1904)
OKLCHoklch(59.03% 0.21 294.9)
XYZxyz(28.8183, 18.3226, 79.8442)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58EA #B8EA58
analogous
#586FEA #8A58EA #D358EA
triadic
#8A58EA #EA8A58 #58EA8A
tetradic
#8A58EA #EA586F #B8EA58 #58EAD3
square
#8A58EA #EA586F #B8EA58 #58EAD3
split-complementary
#8A58EA #EAD358 #6FEA58
monochromatic
#4B16B1 #6422E3 #8A58EA #B08EF1 #D6C5F8

Accessibility & contrast

On white

4.50
#8A58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A58EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58EA#FFFFFF#000000##000000
##8A58EA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#717999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a58ea;
/* rgb */ color: rgb(138, 88, 234);
/* oklch */ color: oklch(59.0% 0.210 294.9);
Tailwind
colors: {
  custom: {
    50: '#b28af2',
    500: '#8a58ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ea;
$custom-light: #b28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ea",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 260.548,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.20996,
    "h": 294.9
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#8A58EA
secondary
#D7E9B5
accent
#DA0C93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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