#8A58F5#8A58F5

#8A58F5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.223 H 293.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A58F5
RGBrgb(138, 88, 245)
HSLhsl(259, 89%, 65%)
HSVhsv(259, 64%, 96%)
CMYKcmyk(43.7%, 64.1%, 0%, 3.9%)
CIE-LABlab(50.66, 54.80, -71.67)
CIE-LCHlch(50.66, 90.22, 307.40°)
OKLaboklab(59.83% 0.0874 -0.2049)
OKLCHoklch(59.83% 0.223 293.1)
XYZxyz(30.4479, 18.9744, 88.4267)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58F5 #C3F558
analogous
#5875F5 #8A58F5 #D858F5
triadic
#8A58F5 #F58A58 #58F58A
tetradic
#8A58F5 #F55875 #C3F558 #58F5D8
square
#8A58F5 #F55875 #C3F558 #58F5D8
split-complementary
#8A58F5 #F5D858 #75F558
monochromatic
#470CC7 #621EF2 #8A58F5 #B292F8 #DBCBFC

Accessibility & contrast

On white

4.38
#8A58F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58F5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58F5#FFFFFF#000000##000000
##8A58F51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#6B7D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a58f5;
/* rgb */ color: rgb(138, 88, 245);
/* oklch */ color: oklch(59.8% 0.223 293.1);
Tailwind
colors: {
  custom: {
    50: '#b38af9',
    500: '#8a58f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a58f5;
$custom-light: #b38af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58f5",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 259.108,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.22274,
    "h": 293.1
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#8A58F5
secondary
#DEEFBA
accent
#E5009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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