#8058D8#8058D8

#8058D8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.188 H 294.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8058D8
RGBrgb(128, 88, 216)
HSLhsl(259, 62%, 60%)
HSVhsv(259, 59%, 85%)
CMYKcmyk(40.7%, 59.3%, 0%, 15.3%)
CIE-LABlab(47.66, 45.05, -60.22)
CIE-LCHlch(47.66, 75.20, 306.80°)
OKLaboklab(56.79% 0.0763 -0.1715)
OKLCHoklch(56.79% 0.188 294)
XYZxyz(24.7832, 16.5259, 66.8365)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058D8 #B0D858
analogous
#5870D8 #8058D8 #C058D8
triadic
#8058D8 #D88058 #58D880
tetradic
#8058D8 #D85870 #B0D858 #58D8C0
square
#8058D8 #D85870 #B0D858 #58D8C0
split-complementary
#8058D8 #D8C058 #70D858
monochromatic
#462293 #5D2EC5 #8058D8 #A68AE4 #CBBBEF

Accessibility & contrast

On white

4.88
#8058D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8058D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058D8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058D8#FFFFFF#000000##FFFFFF
##8058D81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#697490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8058d8;
/* rgb */ color: rgb(128, 88, 216);
/* oklch */ color: oklch(56.8% 0.188 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa89e5',
    500: '#8058d8',
    950: '#000000',
  },
}
SCSS
$custom: #8058d8;
$custom-light: #aa89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8058d8",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 258.75,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.18772,
    "h": 294
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#8058D8
secondary
#CFDFAD
accent
#E543B2
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #8058D8

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

Preview Lab → · Contrast checker → · Palette generator →

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