#8A58E8#8A58E8

#8A58E8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.208 H 295.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A58E8
RGBrgb(138, 88, 232)
HSLhsl(261, 76%, 63%)
HSVhsv(261, 62%, 91%)
CMYKcmyk(40.5%, 62.1%, 0%, 9%)
CIE-LABlab(49.75, 51.39, -65.86)
CIE-LCHlch(49.75, 83.54, 307.97°)
OKLaboklab(58.89% 0.0886 -0.1878)
OKLCHoklch(58.89% 0.208 295.3)
XYZxyz(28.5326, 18.2083, 78.3395)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58E8 #B6E858
analogous
#586EE8 #8A58E8 #D258E8
triadic
#8A58E8 #E88A58 #58E88A
tetradic
#8A58E8 #E8586E #B6E858 #58E8D2
square
#8A58E8 #E8586E #B6E858 #58E8D2
split-complementary
#8A58E8 #E8D258 #6EE858
monochromatic
#4C18AE #6422E1 #8A58E8 #B08EEF #D5C4F7

Accessibility & contrast

On white

4.52
#8A58E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58E8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58E8#FFFFFF#000000##000000
##8A58E81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#727998
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a58e8;
/* rgb */ color: rgb(138, 88, 232);
/* oklch */ color: oklch(58.9% 0.208 295.3);
Tailwind
colors: {
  custom: {
    50: '#b28af0',
    500: '#8a58e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a58e8;
$custom-light: #b28af0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58e8",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 260.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.20761,
    "h": 295.3
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#8A58E8
secondary
#D6E8B4
accent
#D80E92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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