#8058BB#8058BB

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

Color values

HEX#8058BB
RGBrgb(128, 88, 187)
HSLhsl(264, 42%, 54%)
HSVhsv(264, 53%, 73%)
CMYKcmyk(31.6%, 52.9%, 0%, 26.7%)
CIE-LABlab(45.85, 37.40, -46.43)
CIE-LCHlch(45.85, 59.62, 308.85°)
OKLaboklab(54.87% 0.076 -0.131)
OKLCHoklch(54.87% 0.151 300.1)
XYZxyz(21.3593, 15.1564, 48.8043)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058BB #93BB58
analogous
#5862BB #8058BB #B258BB
triadic
#8058BB #BB8058 #58BB80
tetradic
#8058BB #BB5862 #93BB58 #58BBB2
square
#8058BB #BB5862 #93BB58 #58BBB2
split-complementary
#8058BB #BBB258 #62BB58
monochromatic
#462C6C #623E98 #8058BB #A183CD #C2AFDE

Accessibility & contrast

On white

5.21
#8058BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8058BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058BB#FFFFFF#000000##FFFFFF
##8058BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#746B81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8058bb;
/* rgb */ color: rgb(128, 88, 187);
/* oklch */ color: oklch(54.9% 0.151 300.1);
Tailwind
colors: {
  custom: {
    50: '#a888d0',
    500: '#8058bb',
    950: '#000000',
  },
}
SCSS
$custom: #8058bb;
$custom-light: #a888d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8058bb",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 264.242,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.15143,
    "h": 300.1
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#8058BB
secondary
#BBCDA2
accent
#D256A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8058BB

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

Preview Lab → · Contrast checker → · Palette generator →

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