#8A58F2#8A58F2

#8A58F2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.219 H 293.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A58F2
RGBrgb(138, 88, 242)
HSLhsl(259, 86%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43%, 63.6%, 0%, 5.1%)
CIE-LABlab(50.44, 54.01, -70.34)
CIE-LCHlch(50.44, 88.69, 307.52°)
OKLaboklab(59.61% 0.0877 -0.2009)
OKLCHoklch(59.61% 0.219 293.6)
XYZxyz(29.9936, 18.7927, 86.0342)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58F2 #C0F258
analogous
#5873F2 #8A58F2 #D758F2
triadic
#8A58F2 #F28A58 #58F28A
tetradic
#8A58F2 #F25873 #C0F258 #58F2D7
square
#8A58F2 #F25873 #C0F258 #58F2D7
split-complementary
#8A58F2 #F2D758 #73F258
monochromatic
#490FC1 #621FEE #8A58F2 #B291F6 #DACAFB

Accessibility & contrast

On white

4.41
#8A58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58F2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58F2#FFFFFF#000000##000000
##8A58F21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#6D7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a58f2;
/* rgb */ color: rgb(138, 88, 242);
/* oklch */ color: oklch(59.6% 0.219 293.6);
Tailwind
colors: {
  custom: {
    50: '#b38af7',
    500: '#8a58f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a58f2;
$custom-light: #b38af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58f2",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 259.481,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.21927,
    "h": 293.6
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#8A58F2
secondary
#DCEDB8
accent
#E2039A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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