#8058CC#8058CC

#8058CC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.173 H 296.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8058CC
RGBrgb(128, 88, 204)
HSLhsl(261, 53%, 57%)
HSVhsv(261, 57%, 80%)
CMYKcmyk(37.3%, 56.9%, 0%, 20%)
CIE-LABlab(46.88, 41.84, -54.60)
CIE-LCHlch(46.88, 68.79, 307.46°)
OKLaboklab(55.97% 0.0765 -0.155)
OKLCHoklch(55.97% 0.173 296.3)
XYZxyz(23.2881, 15.9279, 58.9625)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058CC #A4CC58
analogous
#586ACC #8058CC #BA58CC
triadic
#8058CC #CC8058 #58CC80
tetradic
#8058CC #CC586A #A4CC58 #58CCBA
square
#8058CC #CC586A #A4CC58 #58CCBA
split-complementary
#8058CC #CCBA58 #6ACC58
monochromatic
#472882 #6036B1 #8058CC #A487DA #C7B6E9

Accessibility & contrast

On white

5.02
#8058CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8058CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058CC#FFFFFF#000000##FFFFFF
##8058CC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8058cc;
/* rgb */ color: rgb(128, 88, 204);
/* oklch */ color: oklch(56.0% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#a988dc',
    500: '#8058cc',
    950: '#000000',
  },
}
SCSS
$custom: #8058cc;
$custom-light: #a988dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8058cc",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 260.69,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.17286,
    "h": 296.3
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8058CC

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

Preview Lab → · Contrast checker → · Palette generator →

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