#8058BF#8058BF

#8058BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.157 H 299.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8058BF
RGBrgb(128, 88, 191)
HSLhsl(263, 45%, 55%)
HSVhsv(263, 54%, 75%)
CMYKcmyk(33%, 53.9%, 0%, 25.1%)
CIE-LABlab(46.08, 38.43, -48.37)
CIE-LCHlch(46.08, 61.78, 308.47°)
OKLaboklab(55.12% 0.0762 -0.1367)
OKLCHoklch(55.12% 0.157 299.1)
XYZxyz(21.7935, 15.3300, 51.0909)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058BF #97BF58
analogous
#5864BF #8058BF #B458BF
triadic
#8058BF #BF8058 #58BF80
tetradic
#8058BF #BF5864 #97BF58 #58BFB4
square
#8058BF #BF5864 #97BF58 #58BFB4
split-complementary
#8058BF #BFB458 #64BF58
monochromatic
#472B71 #623C9D #8058BF #A284D0 #C3B0E1

Accessibility & contrast

On white

5.16
#8058BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8058BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058BF#FFFFFF#000000##FFFFFF
##8058BF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#3C6CBD
Tritanopia (blue-blind)
#736C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8058bf;
/* rgb */ color: rgb(128, 88, 191);
/* oklch */ color: oklch(55.1% 0.157 299.1);
Tailwind
colors: {
  custom: {
    50: '#a888d3',
    500: '#8058bf',
    950: '#000000',
  },
}
SCSS
$custom: #8058bf;
$custom-light: #a888d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8058bf",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 263.301,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.1565,
    "h": 299.1
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#8058BF
secondary
#BECFA4
accent
#D454A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8058BF

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

Preview Lab → · Contrast checker → · Palette generator →

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