#8058AF#8058AF

#8058AF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.1% C 0.136 H 303.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8058AF
RGBrgb(128, 88, 175)
HSLhsl(268, 35%, 52%)
HSVhsv(268, 50%, 69%)
CMYKcmyk(26.9%, 49.7%, 0%, 31.4%)
CIE-LABlab(45.17, 34.36, -40.49)
CIE-LCHlch(45.17, 53.11, 310.32°)
OKLaboklab(54.15% 0.0749 -0.1136)
OKLCHoklch(54.15% 0.136 303.4)
XYZxyz(20.1280, 14.6638, 42.3191)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8058AF #87AF58
analogous
#585CAF #8058AF #AC58AF
triadic
#8058AF #AF8058 #58AF80
tetradic
#8058AF #AF585C #87AF58 #58AFAC
square
#8058AF #AF585C #87AF58 #58AFAC
split-complementary
#8058AF #AFAC58 #5CAF58
monochromatic
#442E5F #624188 #8058AF #9F81C3 #BFABD7

Accessibility & contrast

On white

5.34
#8058AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8058AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8058AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8058AF#FFFFFF#000000##FFFFFF
##8058AF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#78687B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8058af;
/* rgb */ color: rgb(128, 88, 175);
/* oklch */ color: oklch(54.1% 0.136 303.4);
Tailwind
colors: {
  custom: {
    50: '#a788c7',
    500: '#8058af',
    950: '#000000',
  },
}
SCSS
$custom: #8058af;
$custom-light: #a788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8058af",
  "rgb": {
    "r": 128,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 267.586,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.13613,
    "h": 303.4
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#8058AF
secondary
#B3C59E
accent
#CB5D98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8058AF

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

Preview Lab → · Contrast checker → · Palette generator →

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