#8A58FF#8A58FF

#8A58FF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.234 H 291.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A58FF
RGBrgb(138, 88, 255)
HSLhsl(258, 100%, 67%)
HSVhsv(258, 65%, 100%)
CMYKcmyk(45.9%, 65.5%, 0%, 0%)
CIE-LABlab(51.38, 57.45, -76.05)
CIE-LCHlch(51.38, 95.31, 307.06°)
OKLaboklab(60.58% 0.0863 -0.2177)
OKLCHoklch(60.58% 0.234 291.6)
XYZxyz(32.0159, 19.6016, 96.6849)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58FF #CDFF58
analogous
#587AFF #8A58FF #DD58FF
triadic
#8A58FF #FF8A58 #58FF8A
tetradic
#8A58FF #FF587A #CDFF58 #58FFDD
square
#8A58FF #FF587A #CDFF58 #58FFDD
split-complementary
#8A58FF #FFDD58 #7AFF58
monochromatic
#4200DD #5F1BFF #8A58FF #B595FF #E0D2FF

Accessibility & contrast

On white

4.27
#8A58FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A58FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58FF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58FF#FFFFFF#000000##000000
##8A58FF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#6681A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a58ff;
/* rgb */ color: rgb(138, 88, 255);
/* oklch */ color: oklch(60.6% 0.234 291.6);
Tailwind
colors: {
  custom: {
    50: '#b58aff',
    500: '#8a58ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a58ff;
$custom-light: #b58aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58ff",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 257.964,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.23421,
    "h": 291.6
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#8A58FF
secondary
#E4F4BF
accent
#E600A1
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A58FF

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

Preview Lab → · Contrast checker → · Palette generator →

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