#8A58FD#8A58FD

#8A58FD is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.232 H 291.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A58FD
RGBrgb(138, 88, 253)
HSLhsl(258, 98%, 67%)
HSVhsv(258, 65%, 99%)
CMYKcmyk(45.5%, 65.2%, 0%, 0.8%)
CIE-LABlab(51.24, 56.92, -75.18)
CIE-LCHlch(51.24, 94.30, 307.13°)
OKLaboklab(60.43% 0.0865 -0.2152)
OKLCHoklch(60.43% 0.232 291.9)
XYZxyz(31.6956, 19.4735, 94.9982)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58FD #CBFD58
analogous
#5879FD #8A58FD #DD58FD
triadic
#8A58FD #FD8A58 #58FD8A
tetradic
#8A58FD #FD5879 #CBFD58 #58FDDD
square
#8A58FD #FD5879 #CBFD58 #58FDDD
split-complementary
#8A58FD #FDDD58 #79FD58
monochromatic
#4303D8 #601CFC #8A58FD #B494FE #DFD1FE

Accessibility & contrast

On white

4.29
#8A58FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A58FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58FD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58FD#FFFFFF#000000##000000
##8A58FD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#6780A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a58fd;
/* rgb */ color: rgb(138, 88, 253);
/* oklch */ color: oklch(60.4% 0.232 291.9);
Tailwind
colors: {
  custom: {
    50: '#b48aff',
    500: '#8a58fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a58fd;
$custom-light: #b48aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58fd",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 258.182,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.23193,
    "h": 291.9
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#8A58FD
secondary
#E3F3BE
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A58FD

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

Preview Lab → · Contrast checker → · Palette generator →

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