#8058EA#8058EA

#8058EA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.210 H 291.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8058EA
RGBrgb(128, 88, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.3%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.89, 49.93, -68.41)
CIE-LCHlch(48.89, 84.70, 306.13°)
OKLaboklab(58.08% 0.0753 -0.1956)
OKLCHoklch(58.08% 0.21 291.1)
XYZxyz(27.2389, 17.5082, 79.7702)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058EA #C2EA58
analogous
#5879EA #8058EA #C958EA
triadic
#8058EA #EA8058 #58EA80
tetradic
#8058EA #EA5879 #C2EA58 #58EAC9
square
#8058EA #EA5879 #C2EA58 #58EAC9
split-complementary
#8058EA #EAC958 #79EA58
monochromatic
#4116B1 #5722E3 #8058EA #A98EF1 #D3C5F8

Accessibility & contrast

On white

4.66
#8058EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8058EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8058EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058EA#FFFFFF#000000##FFFFFF
##8058EA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#607A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8058ea;
/* rgb */ color: rgb(128, 88, 234);
/* oklch */ color: oklch(58.1% 0.210 291.1);
Tailwind
colors: {
  custom: {
    50: '#ac89f2',
    500: '#8058ea',
    950: '#000000',
  },
}
SCSS
$custom: #8058ea;
$custom-light: #ac89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8058ea",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 256.438,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.20958,
    "h": 291.1
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#8058EA
secondary
#DBE9B5
accent
#DA0CA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8058EA

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

Preview Lab → · Contrast checker → · Palette generator →

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