#8058E8#8058E8

#8058E8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.207 H 291.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8058E8
RGBrgb(128, 88, 232)
HSLhsl(257, 76%, 63%)
HSVhsv(257, 62%, 91%)
CMYKcmyk(44.8%, 62.1%, 0%, 9%)
CIE-LABlab(48.75, 49.39, -67.51)
CIE-LCHlch(48.75, 83.65, 306.19°)
OKLaboklab(57.93% 0.0755 -0.193)
OKLCHoklch(57.93% 0.207 291.4)
XYZxyz(26.9532, 17.3939, 78.2655)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058E8 #C0E858
analogous
#5878E8 #8058E8 #C858E8
triadic
#8058E8 #E88058 #58E880
tetradic
#8058E8 #E85878 #C0E858 #58E8C8
square
#8058E8 #E85878 #C0E858 #58E8C8
split-complementary
#8058E8 #E8C858 #78E858
monochromatic
#4218AE #5722E1 #8058E8 #A98EEF #D2C4F7

Accessibility & contrast

On white

4.69
#8058E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8058E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058E8#FFFFFF#000000##FFFFFF
##8058E81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#617A98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8058e8;
/* rgb */ color: rgb(128, 88, 232);
/* oklch */ color: oklch(57.9% 0.207 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac89f0',
    500: '#8058e8',
    950: '#000000',
  },
}
SCSS
$custom: #8058e8;
$custom-light: #ac89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8058e8",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 256.667,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.20719,
    "h": 291.4
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#8058E8
secondary
#D9E8B4
accent
#D80EA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8058E8

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

Preview Lab → · Contrast checker → · Palette generator →

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