#8058D7#8058D7

#8058D7 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.186 H 294.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8058D7
RGBrgb(128, 88, 215)
HSLhsl(259, 61%, 59%)
HSVhsv(259, 59%, 84%)
CMYKcmyk(40.5%, 59.1%, 0%, 15.7%)
CIE-LABlab(47.59, 44.78, -59.76)
CIE-LCHlch(47.59, 74.67, 306.85°)
OKLaboklab(56.72% 0.0764 -0.1701)
OKLCHoklch(56.72% 0.186 294.2)
XYZxyz(24.6543, 16.4743, 66.1577)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058D7 #AFD758
analogous
#586FD7 #8058D7 #C058D7
triadic
#8058D7 #D78058 #58D780
tetradic
#8058D7 #D7586F #AFD758 #58D7C0
square
#8058D7 #D7586F #AFD758 #58D7C0
split-complementary
#8058D7 #D7C058 #6FD758
monochromatic
#462392 #5D2FC3 #8058D7 #A689E3 #CBBBEF

Accessibility & contrast

On white

4.89
#8058D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8058D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058D7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058D7#FFFFFF#000000##FFFFFF
##8058D71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#69748F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8058d7;
/* rgb */ color: rgb(128, 88, 215);
/* oklch */ color: oklch(56.7% 0.186 294.2);
Tailwind
colors: {
  custom: {
    50: '#aa89e4',
    500: '#8058d7',
    950: '#000000',
  },
}
SCSS
$custom: #8058d7;
$custom-light: #aa89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8058d7",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 258.898,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.18649,
    "h": 294.2
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#8058D7
secondary
#CFDEAD
accent
#E443B2
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #8058D7

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

Preview Lab → · Contrast checker → · Palette generator →

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