#8058CB#8058CB

#8058CB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.172 H 296.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8058CB
RGBrgb(128, 88, 203)
HSLhsl(261, 53%, 57%)
HSVhsv(261, 57%, 80%)
CMYKcmyk(36.9%, 56.7%, 0%, 20.4%)
CIE-LABlab(46.82, 41.58, -54.13)
CIE-LCHlch(46.82, 68.25, 307.53°)
OKLaboklab(55.9% 0.0765 -0.1536)
OKLCHoklch(55.9% 0.172 296.5)
XYZxyz(23.1686, 15.8801, 58.3328)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058CB #A3CB58
analogous
#586ACB #8058CB #BA58CB
triadic
#8058CB #CB8058 #58CB80
tetradic
#8058CB #CB586A #A3CB58 #58CBBA
square
#8058CB #CB586A #A3CB58 #58CBBA
split-complementary
#8058CB #CBBA58 #6ACB58
monochromatic
#472881 #6137AF #8058CB #A387DA #C7B5E8

Accessibility & contrast

On white

5.03
#8058CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8058CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058CB#FFFFFF#000000##FFFFFF
##8058CB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#6E7089
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8058cb;
/* rgb */ color: rgb(128, 88, 203);
/* oklch */ color: oklch(55.9% 0.172 296.5);
Tailwind
colors: {
  custom: {
    50: '#a988db',
    500: '#8058cb',
    950: '#000000',
  },
}
SCSS
$custom: #8058cb;
$custom-light: #a988db;
$custom-dark: #000000;
JSON
{
  "hex": "#8058cb",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 260.87,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.559,
    "c": 0.17161,
    "h": 296.5
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#8058CB
secondary
#C7D7A8
accent
#DC4CAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8058CB

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

Preview Lab → · Contrast checker → · Palette generator →

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