#8058DF#8058DF

#8058DF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.196 H 292.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8058DF
RGBrgb(128, 88, 223)
HSLhsl(258, 68%, 61%)
HSVhsv(258, 61%, 87%)
CMYKcmyk(42.6%, 60.5%, 0%, 12.5%)
CIE-LABlab(48.13, 46.94, -63.44)
CIE-LCHlch(48.13, 78.91, 306.50°)
OKLaboklab(57.28% 0.076 -0.181)
OKLCHoklch(57.28% 0.196 292.8)
XYZxyz(25.7075, 16.8956, 71.7044)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058DF #B7DF58
analogous
#5873DF #8058DF #C358DF
triadic
#8058DF #DF8058 #58DF80
tetradic
#8058DF #DF5873 #B7DF58 #58DFC3
square
#8058DF #DF5873 #B7DF58 #58DFC3
split-complementary
#8058DF #DFC358 #73DF58
monochromatic
#441E9E #5A28D2 #8058DF #A78BE9 #CEBFF3

Accessibility & contrast

On white

4.80
#8058DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8058DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058DF#FFFFFF#000000##FFFFFF
##8058DF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#667793
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8058df;
/* rgb */ color: rgb(128, 88, 223);
/* oklch */ color: oklch(57.3% 0.196 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab89ea',
    500: '#8058df',
    950: '#000000',
  },
}
SCSS
$custom: #8058df;
$custom-light: #ab89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8058df",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 257.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.1963,
    "h": 292.8
  },
  "luminance": 0.16896
}

Semantic roles & 50–950 ramp

primary
#8058DF
secondary
#D4E3B0
accent
#D01699
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8058DF

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

Preview Lab → · Contrast checker → · Palette generator →

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