#8A58E5#8A58E5

#8A58E5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.204 H 295.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A58E5
RGBrgb(138, 88, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(39.7%, 61.6%, 0%, 10.2%)
CIE-LABlab(49.54, 50.61, -64.49)
CIE-LCHlch(49.54, 81.98, 308.12°)
OKLaboklab(58.67% 0.0888 -0.1838)
OKLCHoklch(58.67% 0.204 295.8)
XYZxyz(28.1101, 18.0393, 76.1145)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58E5 #B3E558
analogous
#586CE5 #8A58E5 #D158E5
triadic
#8A58E5 #E58A58 #58E58A
tetradic
#8A58E5 #E5586C #B3E558 #58E5D1
square
#8A58E5 #E5586C #B3E558 #58E5D1
split-complementary
#8A58E5 #E5D158 #6CE558
monochromatic
#4D1AA8 #6523DD #8A58E5 #AF8DED #D4C2F5

Accessibility & contrast

On white

4.56
#8A58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58E5#FFFFFF#000000##000000
##8A58E51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#737896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a58e5;
/* rgb */ color: rgb(138, 88, 229);
/* oklch */ color: oklch(58.7% 0.204 295.8);
Tailwind
colors: {
  custom: {
    50: '#b289ee',
    500: '#8a58e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a58e5;
$custom-light: #b289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58e5",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 261.277,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.20409,
    "h": 295.8
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#8A58E5
secondary
#D4E6B3
accent
#D5108F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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