#A058DC#A058DC

#A058DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.4% C 0.198 H 306.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A058DC
RGBrgb(160, 88, 220)
HSLhsl(273, 65%, 60%)
HSVhsv(273, 60%, 86%)
CMYKcmyk(27.3%, 60%, 0%, 13.7%)
CIE-LABlab(51.41, 53.27, -56.28)
CIE-LCHlch(51.41, 77.49, 313.43°)
OKLaboklab(60.39% 0.1177 -0.1589)
OKLCHoklch(60.39% 0.198 306.5)
XYZxyz(30.9025, 19.6206, 69.8555)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A058DC #94DC58
analogous
#5E58DC #A058DC #DC58D6
triadic
#A058DC #DCA058 #58DCA0
tetradic
#A058DC #DC5E58 #94DC58 #58D6DC
square
#A058DC #DC5E58 #94DC58 #58D6DC
split-complementary
#A058DC #D6DC58 #58DC5E
monochromatic
#622099 #832BCC #A058DC #BD8BE7 #DABDF1

Accessibility & contrast

On white

4.26
#A058DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A058DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A058DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A058DC#FFFFFF#000000##000000
##A058DC1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#967292
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a058dc;
/* rgb */ color: rgb(160, 88, 220);
/* oklch */ color: oklch(60.4% 0.198 306.5);
Tailwind
colors: {
  custom: {
    50: '#c08be7',
    500: '#a058dc',
    950: '#000000',
  },
}
SCSS
$custom: #a058dc;
$custom-light: #c08be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a058dc",
  "rgb": {
    "r": 160,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 272.727,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.19778,
    "h": 306.5
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#A058DC
secondary
#C6E1AF
accent
#CD186B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A058DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A058DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva