#8058CA#8058CA

#8058CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.170 H 296.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8058CA
RGBrgb(128, 88, 202)
HSLhsl(261, 52%, 57%)
HSVhsv(261, 56%, 79%)
CMYKcmyk(36.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(46.75, 41.31, -53.66)
CIE-LCHlch(46.75, 67.72, 307.59°)
OKLaboklab(55.83% 0.0765 -0.1522)
OKLCHoklch(55.83% 0.17 296.7)
XYZxyz(23.0498, 15.8325, 57.7073)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058CA #A2CA58
analogous
#5869CA #8058CA #B958CA
triadic
#8058CA #CA8058 #58CA80
tetradic
#8058CA #CA5869 #A2CA58 #58CAB9
square
#8058CA #CA5869 #A2CA58 #58CAB9
split-complementary
#8058CA #CAB958 #69CA58
monochromatic
#47287F #6137AE #8058CA #A386D9 #C7B5E7

Accessibility & contrast

On white

5.04
#8058CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8058CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058CA#FFFFFF#000000##FFFFFF
##8058CA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#6F7088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8058ca;
/* rgb */ color: rgb(128, 88, 202);
/* oklch */ color: oklch(55.8% 0.170 296.7);
Tailwind
colors: {
  custom: {
    50: '#a988db',
    500: '#8058ca',
    950: '#000000',
  },
}
SCSS
$custom: #8058ca;
$custom-light: #a988db;
$custom-dark: #000000;
JSON
{
  "hex": "#8058ca",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 261.053,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.17035,
    "h": 296.7
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#8058CA
secondary
#C6D6A8
accent
#DB4DA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8058CA

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

Preview Lab → · Contrast checker → · Palette generator →

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