#8A58E0#8A58E0

#8A58E0 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.198 H 296.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A58E0
RGBrgb(138, 88, 224)
HSLhsl(262, 69%, 61%)
HSVhsv(262, 61%, 88%)
CMYKcmyk(38.4%, 60.7%, 0%, 12.2%)
CIE-LABlab(49.21, 49.32, -62.21)
CIE-LCHlch(49.21, 79.38, 308.41°)
OKLaboklab(58.32% 0.0891 -0.177)
OKLCHoklch(58.32% 0.198 296.7)
XYZxyz(27.4220, 17.7641, 72.4906)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58E0 #AEE058
analogous
#586AE0 #8A58E0 #CE58E0
triadic
#8A58E0 #E08A58 #58E08A
tetradic
#8A58E0 #E0586A #AEE058 #58E0CE
square
#8A58E0 #E0586A #AEE058 #58E0CE
split-complementary
#8A58E0 #E0CE58 #6AE058
monochromatic
#4E1EA0 #6727D4 #8A58E0 #AE8CEA #D2BFF3

Accessibility & contrast

On white

4.61
#8A58E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A58E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58E0#FFFFFF#000000##FFFFFF
##8A58E01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#757694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a58e0;
/* rgb */ color: rgb(138, 88, 224);
/* oklch */ color: oklch(58.3% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#b189ea',
    500: '#8a58e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a58e0;
$custom-light: #b189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58e0",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 224
  },
  "hsl": {
    "h": 262.059,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.19819,
    "h": 296.7
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#8A58E0
secondary
#D1E3B0
accent
#D1158C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A58E0

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

Preview Lab → · Contrast checker → · Palette generator →

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