#8058E7#8058E7

#8058E7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.206 H 291.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8058E7
RGBrgb(128, 88, 231)
HSLhsl(257, 75%, 63%)
HSVhsv(257, 62%, 91%)
CMYKcmyk(44.6%, 61.9%, 0%, 9.4%)
CIE-LABlab(48.68, 49.11, -67.06)
CIE-LCHlch(48.68, 83.13, 306.22°)
OKLaboklab(57.86% 0.0755 -0.1916)
OKLCHoklch(57.86% 0.206 291.5)
XYZxyz(26.8116, 17.3373, 77.5196)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058E7 #BFE758
analogous
#5878E7 #8058E7 #C758E7
triadic
#8058E7 #E78058 #58E780
tetradic
#8058E7 #E75878 #BFE758 #58E7C7
square
#8058E7 #E75878 #BFE758 #58E7C7
split-complementary
#8058E7 #E7C758 #78E758
monochromatic
#4219AC #5722DF #8058E7 #A98EEF #D1C3F6

Accessibility & contrast

On white

4.70
#8058E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8058E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058E7#FFFFFF#000000##FFFFFF
##8058E71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#617997
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8058e7;
/* rgb */ color: rgb(128, 88, 231);
/* oklch */ color: oklch(57.9% 0.206 291.5);
Tailwind
colors: {
  custom: {
    50: '#ac89ef',
    500: '#8058e7',
    950: '#000000',
  },
}
SCSS
$custom: #8058e7;
$custom-light: #ac89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8058e7",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 256.783,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.20598,
    "h": 291.5
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#8058E7
secondary
#D9E7B3
accent
#D70E9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8058E7

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

Preview Lab → · Contrast checker → · Palette generator →

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