#8A58ED#8A58ED

#8A58ED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.213 H 294.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A58ED
RGBrgb(138, 88, 237)
HSLhsl(260, 81%, 64%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(41.8%, 62.9%, 0%, 7.1%)
CIE-LABlab(50.09, 52.70, -68.11)
CIE-LCHlch(50.09, 86.12, 307.73°)
OKLaboklab(59.25% 0.0882 -0.1944)
OKLCHoklch(59.25% 0.213 294.4)
XYZxyz(29.2529, 18.4964, 82.1332)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58ED #BBED58
analogous
#5870ED #8A58ED #D458ED
triadic
#8A58ED #ED8A58 #58ED8A
tetradic
#8A58ED #ED5870 #BBED58 #58EDD4
square
#8A58ED #ED5870 #BBED58 #58EDD4
split-complementary
#8A58ED #EDD458 #70ED58
monochromatic
#4A14B7 #6321E7 #8A58ED #B18FF3 #D7C6F9

Accessibility & contrast

On white

4.47
#8A58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58ED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58ED#FFFFFF#000000##000000
##8A58ED1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#6F7A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a58ed;
/* rgb */ color: rgb(138, 88, 237);
/* oklch */ color: oklch(59.2% 0.213 294.4);
Tailwind
colors: {
  custom: {
    50: '#b38af4',
    500: '#8a58ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ed;
$custom-light: #b38af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ed",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 260.134,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.21345,
    "h": 294.4
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#8A58ED
secondary
#D9EBB6
accent
#DD0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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