#8058D2#8058D2

#8058D2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.180 H 295.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8058D2
RGBrgb(128, 88, 210)
HSLhsl(260, 58%, 58%)
HSVhsv(260, 58%, 82%)
CMYKcmyk(39%, 58.1%, 0%, 17.6%)
CIE-LABlab(47.26, 43.44, -57.43)
CIE-LCHlch(47.26, 72.01, 307.10°)
OKLaboklab(56.37% 0.0765 -0.1633)
OKLCHoklch(56.37% 0.18 295.1)
XYZxyz(24.0216, 16.2213, 62.8257)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058D2 #AAD258
analogous
#586DD2 #8058D2 #BD58D2
triadic
#8058D2 #D28058 #58D280
tetradic
#8058D2 #D2586D #AAD258 #58D2BD
square
#8058D2 #D2586D #AAD258 #58D2BD
split-complementary
#8058D2 #D2BD58 #6DD258
monochromatic
#46258A #5F32BB #8058D2 #A588DF #C9B8EC

Accessibility & contrast

On white

4.95
#8058D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8058D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058D2#FFFFFF#000000##FFFFFF
##8058D21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#6B728D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8058d2;
/* rgb */ color: rgb(128, 88, 210);
/* oklch */ color: oklch(56.4% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa89e0',
    500: '#8058d2',
    950: '#000000',
  },
}
SCSS
$custom: #8058d2;
$custom-light: #aa89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8058d2",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 259.672,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.18032,
    "h": 295.1
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#8058D2
secondary
#CBDBAB
accent
#E147AE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8058D2

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

Preview Lab → · Contrast checker → · Palette generator →

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