#8058EB#8058EB

#8058EB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.211 H 290.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8058EB
RGBrgb(128, 88, 235)
HSLhsl(256, 79%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(45.5%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.97, 50.21, -68.86)
CIE-LCHlch(48.97, 85.22, 306.10°)
OKLaboklab(58.15% 0.0752 -0.1969)
OKLCHoklch(58.15% 0.211 290.9)
XYZxyz(27.3830, 17.5658, 80.5289)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058EB #C3EB58
analogous
#5879EB #8058EB #CA58EB
triadic
#8058EB #EB8058 #58EB80
tetradic
#8058EB #EB5879 #C3EB58 #58EBCA
square
#8058EB #EB5879 #C3EB58 #58EBCA
split-complementary
#8058EB #EBCA58 #79EB58
monochromatic
#4015B3 #5621E4 #8058EB #AA8FF2 #D3C5F8

Accessibility & contrast

On white

4.65
#8058EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8058EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8058EB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058EB#FFFFFF#000000##FFFFFF
##8058EB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5F7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8058eb;
/* rgb */ color: rgb(128, 88, 235);
/* oklch */ color: oklch(58.2% 0.211 290.9);
Tailwind
colors: {
  custom: {
    50: '#ac89f2',
    500: '#8058eb',
    950: '#000000',
  },
}
SCSS
$custom: #8058eb;
$custom-light: #ac89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8058eb",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 256.327,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.21078,
    "h": 290.9
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#8058EB
secondary
#DBEAB5
accent
#DB0BA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8058EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8058EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva