#8A58F1#8A58F1

#8A58F1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.218 H 293.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A58F1
RGBrgb(138, 88, 241)
HSLhsl(260, 85%, 65%)
HSVhsv(260, 63%, 95%)
CMYKcmyk(42.7%, 63.5%, 0%, 5.5%)
CIE-LABlab(50.37, 53.75, -69.90)
CIE-LCHlch(50.37, 88.17, 307.56°)
OKLaboklab(59.54% 0.0878 -0.1996)
OKLCHoklch(59.54% 0.218 293.7)
XYZxyz(29.8438, 18.7328, 85.2454)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58F1 #BFF158
analogous
#5873F1 #8A58F1 #D758F1
triadic
#8A58F1 #F18A58 #58F18A
tetradic
#8A58F1 #F15873 #BFF158 #58F1D7
square
#8A58F1 #F15873 #BFF158 #58F1D7
split-complementary
#8A58F1 #F1D758 #73F158
monochromatic
#4910BF #6220EC #8A58F1 #B290F6 #D9C9FA

Accessibility & contrast

On white

4.42
#8A58F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A58F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A58F1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58F1#FFFFFF#000000##000000
##8A58F11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a58f1;
/* rgb */ color: rgb(138, 88, 241);
/* oklch */ color: oklch(59.5% 0.218 293.7);
Tailwind
colors: {
  custom: {
    50: '#b38af7',
    500: '#8a58f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a58f1;
$custom-light: #b38af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58f1",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 259.608,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59537,
    "c": 0.21811,
    "h": 293.7
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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