#8058F7#8058F7

#8058F7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.225 H 289.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8058F7
RGBrgb(128, 88, 247)
HSLhsl(255, 91%, 66%)
HSVhsv(255, 64%, 97%)
CMYKcmyk(48.2%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.84, 53.50, -74.16)
CIE-LCHlch(49.84, 91.45, 305.81°)
OKLaboklab(59.06% 0.074 -0.2125)
OKLCHoklch(59.06% 0.225 289.2)
XYZxyz(29.1755, 18.2828, 89.9693)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058F7 #CFF758
analogous
#587FF7 #8058F7 #CF58F7
triadic
#8058F7 #F78058 #58F780
tetradic
#8058F7 #F7587F #CFF758 #58F7CF
square
#8058F7 #F7587F #CFF758 #58F7CF
split-complementary
#8058F7 #F7CF58 #7FF758
monochromatic
#3A0ACB #541EF4 #8058F7 #AC92FA #D9CDFD

Accessibility & contrast

On white

4.51
#8058F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8058F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8058F7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058F7#FFFFFF#000000##000000
##8058F71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#587FA0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8058f7;
/* rgb */ color: rgb(128, 88, 247);
/* oklch */ color: oklch(59.1% 0.225 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae89fb',
    500: '#8058f7',
    950: '#000000',
  },
}
SCSS
$custom: #8058f7;
$custom-light: #ae89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8058f7",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 255.094,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.22502,
    "h": 289.2
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#8058F7
secondary
#E3F0BB
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8058F7

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

Preview Lab → · Contrast checker → · Palette generator →

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