#8058DD#8058DD

#8058DD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.194 H 293.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8058DD
RGBrgb(128, 88, 221)
HSLhsl(258, 66%, 61%)
HSVhsv(258, 60%, 87%)
CMYKcmyk(42.1%, 60.2%, 0%, 13.3%)
CIE-LABlab(47.99, 46.40, -62.52)
CIE-LCHlch(47.99, 77.86, 306.58°)
OKLaboklab(57.14% 0.0761 -0.1783)
OKLCHoklch(57.14% 0.194 293.1)
XYZxyz(25.4394, 16.7884, 70.2927)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058DD #B5DD58
analogous
#5872DD #8058DD #C258DD
triadic
#8058DD #DD8058 #58DD80
tetradic
#8058DD #DD5872 #B5DD58 #58DDC2
square
#8058DD #DD5872 #B5DD58 #58DDC2
split-complementary
#8058DD #DDC258 #72DD58
monochromatic
#45209B #5B2ACE #8058DD #A78BE7 #CDBEF2

Accessibility & contrast

On white

4.82
#8058DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8058DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058DD#FFFFFF#000000##FFFFFF
##8058DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#677692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8058dd;
/* rgb */ color: rgb(128, 88, 221);
/* oklch */ color: oklch(57.1% 0.194 293.1);
Tailwind
colors: {
  custom: {
    50: '#ab89e8',
    500: '#8058dd',
    950: '#000000',
  },
}
SCSS
$custom: #8058dd;
$custom-light: #ab89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8058dd",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 258.045,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57137,
    "c": 0.19385,
    "h": 293.1
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#8058DD
secondary
#D2E2AF
accent
#CE1797
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8058DD

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

Preview Lab → · Contrast checker → · Palette generator →

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