#8058F2#8058F2

#8058F2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.219 H 289.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8058F2
RGBrgb(128, 88, 242)
HSLhsl(256, 86%, 65%)
HSVhsv(256, 64%, 95%)
CMYKcmyk(47.1%, 63.6%, 0%, 5.1%)
CIE-LABlab(49.47, 52.13, -71.97)
CIE-LCHlch(49.47, 88.86, 305.92°)
OKLaboklab(58.68% 0.0746 -0.206)
OKLCHoklch(58.68% 0.219 289.9)
XYZxyz(28.4143, 17.9783, 85.9602)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058F2 #CAF258
analogous
#587DF2 #8058F2 #CD58F2
triadic
#8058F2 #F28058 #58F280
tetradic
#8058F2 #F2587D #CAF258 #58F2CD
square
#8058F2 #F2587D #CAF258 #58F2CD
split-complementary
#8058F2 #F2CD58 #7DF258
monochromatic
#3D0FC1 #551FEE #8058F2 #AB91F6 #D6CAFB

Accessibility & contrast

On white

4.57
#8058F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8058F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8058F2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058F2#FFFFFF#000000##000000
##8058F21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#5B7D9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8058f2;
/* rgb */ color: rgb(128, 88, 242);
/* oklch */ color: oklch(58.7% 0.219 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad89f7',
    500: '#8058f2',
    950: '#000000',
  },
}
SCSS
$custom: #8058f2;
$custom-light: #ad89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8058f2",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 255.584,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.21913,
    "h": 289.9
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#8058F2
secondary
#E0EDB8
accent
#E203A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8058F2

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

Preview Lab → · Contrast checker → · Palette generator →

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