#8058CD#8058CD

#8058CD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.174 H 296.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8058CD
RGBrgb(128, 88, 205)
HSLhsl(261, 54%, 57%)
HSVhsv(261, 57%, 80%)
CMYKcmyk(37.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(46.94, 42.11, -55.08)
CIE-LCHlch(46.94, 69.33, 307.40°)
OKLaboklab(56.03% 0.0765 -0.1564)
OKLCHoklch(56.03% 0.174 296.1)
XYZxyz(23.4084, 15.9760, 59.5962)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058CD #A5CD58
analogous
#586ACD #8058CD #BB58CD
triadic
#8058CD #CD8058 #58CD80
tetradic
#8058CD #CD586A #A5CD58 #58CDBB
square
#8058CD #CD586A #A5CD58 #58CDBB
split-complementary
#8058CD #CDBB58 #6ACD58
monochromatic
#472783 #6035B2 #8058CD #A487DB #C8B6E9

Accessibility & contrast

On white

5.01
#8058CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8058CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058CD#FFFFFF#000000##FFFFFF
##8058CD1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#6D718A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8058cd;
/* rgb */ color: rgb(128, 88, 205);
/* oklch */ color: oklch(56.0% 0.174 296.1);
Tailwind
colors: {
  custom: {
    50: '#a988dd',
    500: '#8058cd',
    950: '#000000',
  },
}
SCSS
$custom: #8058cd;
$custom-light: #a988dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8058cd",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 260.513,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.17411,
    "h": 296.1
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#8058CD
secondary
#C8D8A9
accent
#DD4BAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8058CD

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

Preview Lab → · Contrast checker → · Palette generator →

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