#8A58F3#8A58F3

#8A58F3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.220 H 293.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A58F3
RGBrgb(138, 88, 243)
HSLhsl(259, 87%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43.2%, 63.8%, 0%, 4.7%)
CIE-LABlab(50.51, 54.28, -70.78)
CIE-LCHlch(50.51, 89.20, 307.48°)
OKLaboklab(59.68% 0.0876 -0.2023)
OKLCHoklch(59.68% 0.22 293.4)
XYZxyz(30.1442, 18.8529, 86.8274)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58F3 #C1F358
analogous
#5873F3 #8A58F3 #D858F3
triadic
#8A58F3 #F38A58 #58F38A
tetradic
#8A58F3 #F35873 #C1F358 #58F3D8
square
#8A58F3 #F35873 #C1F358 #58F3D8
split-complementary
#8A58F3 #F3D858 #73F358
monochromatic
#480EC3 #621FEF #8A58F3 #B291F7 #DACAFB

Accessibility & contrast

On white

4.40
#8A58F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8A58F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58F3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58F3#FFFFFF#000000##000000
##8A58F31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6C7C9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a58f3;
/* rgb */ color: rgb(138, 88, 243);
/* oklch */ color: oklch(59.7% 0.220 293.4);
Tailwind
colors: {
  custom: {
    50: '#b38af8',
    500: '#8a58f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a58f3;
$custom-light: #b38af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58f3",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 259.355,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.22042,
    "h": 293.4
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#8A58F3
secondary
#DDEEB9
accent
#E3029B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58F3

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

Preview Lab → · Contrast checker → · Palette generator →

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