#8058DE#8058DE

#8058DE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.195 H 293.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8058DE
RGBrgb(128, 88, 222)
HSLhsl(258, 67%, 61%)
HSVhsv(258, 60%, 87%)
CMYKcmyk(42.3%, 60.4%, 0%, 12.9%)
CIE-LABlab(48.06, 46.67, -62.98)
CIE-LCHlch(48.06, 78.39, 306.54°)
OKLaboklab(57.21% 0.0761 -0.1796)
OKLCHoklch(57.21% 0.195 293)
XYZxyz(25.5730, 16.8418, 70.9965)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058DE #B6DE58
analogous
#5873DE #8058DE #C358DE
triadic
#8058DE #DE8058 #58DE80
tetradic
#8058DE #DE5873 #B6DE58 #58DEC3
square
#8058DE #DE5873 #B6DE58 #58DEC3
split-complementary
#8058DE #DEC358 #73DE58
monochromatic
#441F9D #5B29D0 #8058DE #A78BE8 #CEBEF2

Accessibility & contrast

On white

4.81
#8058DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8058DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058DE#FFFFFF#000000##FFFFFF
##8058DE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#667693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8058de;
/* rgb */ color: rgb(128, 88, 222);
/* oklch */ color: oklch(57.2% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#ab89e9',
    500: '#8058de',
    950: '#000000',
  },
}
SCSS
$custom: #8058de;
$custom-light: #ab89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8058de",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 257.91,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.19507,
    "h": 293
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#8058DE
secondary
#D3E2B0
accent
#CF1798
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8058DE

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

Preview Lab → · Contrast checker → · Palette generator →

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