#8A58EF#8A58EF

#8A58EF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.216 H 294.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A58EF
RGBrgb(138, 88, 239)
HSLhsl(260, 83%, 64%)
HSVhsv(260, 63%, 94%)
CMYKcmyk(42.3%, 63.2%, 0%, 6.3%)
CIE-LABlab(50.23, 53.22, -69.00)
CIE-LCHlch(50.23, 87.15, 307.64°)
OKLaboklab(59.39% 0.088 -0.197)
OKLCHoklch(59.39% 0.216 294.1)
XYZxyz(29.5467, 18.6139, 83.6807)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58EF #BDEF58
analogous
#5872EF #8A58EF #D658EF
triadic
#8A58EF #EF8A58 #58EF8A
tetradic
#8A58EF #EF5872 #BDEF58 #58EFD6
square
#8A58EF #EF5872 #BDEF58 #58EFD6
split-complementary
#8A58EF #EFD658 #72EF58
monochromatic
#4A12BB #6320EA #8A58EF #B190F4 #D8C8FA

Accessibility & contrast

On white

4.45
#8A58EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58EF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58EF#FFFFFF#000000##000000
##8A58EF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#6E7B9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a58ef;
/* rgb */ color: rgb(138, 88, 239);
/* oklch */ color: oklch(59.4% 0.216 294.1);
Tailwind
colors: {
  custom: {
    50: '#b38af5',
    500: '#8a58ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ef;
$custom-light: #b38af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ef",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 259.868,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.21579,
    "h": 294.1
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#8A58EF
secondary
#DAECB7
accent
#DF0797
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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