#8058DC#8058DC

#8058DC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.193 H 293.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8058DC
RGBrgb(128, 88, 220)
HSLhsl(258, 65%, 60%)
HSVhsv(258, 60%, 86%)
CMYKcmyk(41.8%, 60%, 0%, 13.7%)
CIE-LABlab(47.92, 46.13, -62.06)
CIE-LCHlch(47.92, 77.33, 306.62°)
OKLaboklab(57.07% 0.0762 -0.1769)
OKLCHoklch(57.07% 0.193 293.3)
XYZxyz(25.3066, 16.7353, 69.5932)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058DC #B4DC58
analogous
#5872DC #8058DC #C258DC
triadic
#8058DC #DC8058 #58DC80
tetradic
#8058DC #DC5872 #B4DC58 #58DCC2
square
#8058DC #DC5872 #B4DC58 #58DCC2
split-complementary
#8058DC #DCC258 #72DC58
monochromatic
#452099 #5C2BCC #8058DC #A68BE7 #CDBDF1

Accessibility & contrast

On white

4.83
#8058DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8058DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058DC#FFFFFF#000000##FFFFFF
##8058DC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#677692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8058dc;
/* rgb */ color: rgb(128, 88, 220);
/* oklch */ color: oklch(57.1% 0.193 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab89e8',
    500: '#8058dc',
    950: '#000000',
  },
}
SCSS
$custom: #8058dc;
$custom-light: #ab89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8058dc",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 258.182,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.19263,
    "h": 293.3
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#8058DC
secondary
#D2E1AF
accent
#CD1896
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8058DC

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

Preview Lab → · Contrast checker → · Palette generator →

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