#8A58E6#8A58E6

#8A58E6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.205 H 295.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A58E6
RGBrgb(138, 88, 230)
HSLhsl(261, 74%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40%, 61.7%, 0%, 9.8%)
CIE-LABlab(49.61, 50.87, -64.95)
CIE-LCHlch(49.61, 82.50, 308.07°)
OKLaboklab(58.74% 0.0887 -0.1851)
OKLCHoklch(58.74% 0.205 295.6)
XYZxyz(28.2501, 18.0953, 76.8519)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58E6 #B4E658
analogous
#586DE6 #8A58E6 #D158E6
triadic
#8A58E6 #E68A58 #58E68A
tetradic
#8A58E6 #E6586D #B4E658 #58E6D1
square
#8A58E6 #E6586D #B4E658 #58E6D1
split-complementary
#8A58E6 #E6D158 #6DE658
monochromatic
#4C19AA #6523DE #8A58E6 #AF8DEE #D5C2F6

Accessibility & contrast

On white

4.55
#8A58E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A58E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58E6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58E6#FFFFFF#000000##000000
##8A58E61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#737897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a58e6;
/* rgb */ color: rgb(138, 88, 230);
/* oklch */ color: oklch(58.7% 0.205 295.6);
Tailwind
colors: {
  custom: {
    50: '#b289ef',
    500: '#8a58e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a58e6;
$custom-light: #b289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58e6",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 261.127,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.20526,
    "h": 295.6
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#8A58E6
secondary
#D5E7B3
accent
#D60F90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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