#8A58EC#8A58EC

#8A58EC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.212 H 294.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A58EC
RGBrgb(138, 88, 236)
HSLhsl(260, 80%, 64%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(41.5%, 62.7%, 0%, 7.5%)
CIE-LABlab(50.02, 52.44, -67.66)
CIE-LCHlch(50.02, 85.60, 307.78°)
OKLaboklab(59.17% 0.0883 -0.1931)
OKLCHoklch(59.17% 0.212 294.6)
XYZxyz(29.1072, 18.4381, 81.3660)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58EC #BAEC58
analogous
#5870EC #8A58EC #D458EC
triadic
#8A58EC #EC8A58 #58EC8A
tetradic
#8A58EC #EC5870 #BAEC58 #58ECD4
square
#8A58EC #EC5870 #BAEC58 #58ECD4
split-complementary
#8A58EC #ECD458 #70EC58
monochromatic
#4B15B5 #6421E6 #8A58EC #B08FF2 #D7C6F9

Accessibility & contrast

On white

4.48
#8A58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58EC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58EC#FFFFFF#000000##000000
##8A58EC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#707A9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a58ec;
/* rgb */ color: rgb(138, 88, 236);
/* oklch */ color: oklch(59.2% 0.212 294.6);
Tailwind
colors: {
  custom: {
    50: '#b38af3',
    500: '#8a58ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ec;
$custom-light: #b38af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ec",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 260.27,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.21229,
    "h": 294.6
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#8A58EC
secondary
#D8EAB6
accent
#DC0A95
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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