#8058BC#8058BC

#8058BC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.153 H 299.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8058BC
RGBrgb(128, 88, 188)
HSLhsl(264, 43%, 54%)
HSVhsv(264, 53%, 74%)
CMYKcmyk(31.9%, 53.2%, 0%, 26.3%)
CIE-LABlab(45.91, 37.66, -46.91)
CIE-LCHlch(45.91, 60.16, 308.75°)
OKLaboklab(54.94% 0.076 -0.1324)
OKLCHoklch(54.94% 0.153 299.9)
XYZxyz(21.4668, 15.1993, 49.3700)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058BC #94BC58
analogous
#5862BC #8058BC #B258BC
triadic
#8058BC #BC8058 #58BC80
tetradic
#8058BC #BC5862 #94BC58 #58BCB2
square
#8058BC #BC5862 #94BC58 #58BCB2
split-complementary
#8058BC #BCB258 #62BC58
monochromatic
#462C6E #623E99 #8058BC #A184CE #C2AFDF

Accessibility & contrast

On white

5.20
#8058BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8058BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058BC#FFFFFF#000000##FFFFFF
##8058BC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#746B81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8058bc;
/* rgb */ color: rgb(128, 88, 188);
/* oklch */ color: oklch(54.9% 0.153 299.9);
Tailwind
colors: {
  custom: {
    50: '#a888d1',
    500: '#8058bc',
    950: '#000000',
  },
}
SCSS
$custom: #8058bc;
$custom-light: #a888d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8058bc",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 264,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.1527,
    "h": 299.9
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#8058BC
secondary
#BCCDA3
accent
#D355A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8058BC

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

Preview Lab → · Contrast checker → · Palette generator →

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