#8058D5#8058D5

#8058D5 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.184 H 294.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8058D5
RGBrgb(128, 88, 213)
HSLhsl(259, 60%, 59%)
HSVhsv(259, 59%, 84%)
CMYKcmyk(39.9%, 58.7%, 0%, 16.5%)
CIE-LABlab(47.46, 44.24, -58.83)
CIE-LCHlch(47.46, 73.61, 306.94°)
OKLaboklab(56.58% 0.0764 -0.1674)
OKLCHoklch(56.58% 0.184 294.5)
XYZxyz(24.3989, 16.3722, 64.8125)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058D5 #ADD558
analogous
#586FD5 #8058D5 #BF58D5
triadic
#8058D5 #D58058 #58D580
tetradic
#8058D5 #D5586F #ADD558 #58D5BF
square
#8058D5 #D5586F #ADD558 #58D5BF
split-complementary
#8058D5 #D5BF58 #6FD558
monochromatic
#46248F #5E30C0 #8058D5 #A589E1 #CABAEE

Accessibility & contrast

On white

4.91
#8058D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8058D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058D5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058D5#FFFFFF#000000##FFFFFF
##8058D51.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#1C6FD2
Tritanopia (blue-blind)
#6A738E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8058d5;
/* rgb */ color: rgb(128, 88, 213);
/* oklch */ color: oklch(56.6% 0.184 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa89e3',
    500: '#8058d5',
    950: '#000000',
  },
}
SCSS
$custom: #8058d5;
$custom-light: #aa89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8058d5",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 259.2,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.18403,
    "h": 294.5
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#8058D5
secondary
#CDDDAC
accent
#E345B0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #8058D5

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

Preview Lab → · Contrast checker → · Palette generator →

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