#8058C8#8058C8

#8058C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.168 H 297.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8058C8
RGBrgb(128, 88, 200)
HSLhsl(261, 50%, 56%)
HSVhsv(261, 56%, 78%)
CMYKcmyk(36%, 56%, 0%, 21.6%)
CIE-LABlab(46.63, 40.78, -52.70)
CIE-LCHlch(46.63, 66.64, 307.73°)
OKLaboklab(55.7% 0.0765 -0.1494)
OKLCHoklch(55.7% 0.168 297.1)
XYZxyz(22.8145, 15.7384, 56.4682)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058C8 #A0C858
analogous
#5868C8 #8058C8 #B858C8
triadic
#8058C8 #C88058 #58C880
tetradic
#8058C8 #C85868 #A0C858 #58C8B8
square
#8058C8 #C85868 #A0C858 #58C8B8
split-complementary
#8058C8 #C8B858 #68C858
monochromatic
#47297D #6138AB #8058C8 #A386D7 #C6B4E6

Accessibility & contrast

On white

5.06
#8058C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8058C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058C8#FFFFFF#000000##FFFFFF
##8058C81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#6F6F87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8058c8;
/* rgb */ color: rgb(128, 88, 200);
/* oklch */ color: oklch(55.7% 0.168 297.1);
Tailwind
colors: {
  custom: {
    50: '#a988d9',
    500: '#8058c8',
    950: '#000000',
  },
}
SCSS
$custom: #8058c8;
$custom-light: #a988d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8058c8",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 261.429,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.16786,
    "h": 297.1
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#8058C8
secondary
#C4D5A7
accent
#DA4EA8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8058C8

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

Preview Lab → · Contrast checker → · Palette generator →

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