#A045DC#A045DC

#A045DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.223 H 308.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A045DC
RGBrgb(160, 69, 220)
HSLhsl(276, 68%, 57%)
HSVhsv(276, 69%, 86%)
CMYKcmyk(27.3%, 68.6%, 0%, 13.7%)
CIE-LABlab(48.13, 62.26, -61.55)
CIE-LCHlch(48.13, 87.55, 315.33°)
OKLaboklab(58.03% 0.1391 -0.1743)
OKLCHoklch(58.03% 0.223 308.6)
XYZxyz(29.5410, 16.8976, 69.4016)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045DC #81DC45
analogous
#5545DC #A045DC #DC45CD
triadic
#A045DC #DCA045 #45DCA0
tetradic
#A045DC #DC5545 #81DC45 #45CDDC
square
#A045DC #DC5545 #81DC45 #45CDDC
split-complementary
#A045DC #CDDC45 #45DC55
monochromatic
#5F1A8C #8224C0 #A045DC #BA79E6 #D5ACEF

Accessibility & contrast

On white

4.80
#A045DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A045DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A045DC#FFFFFF#000000##FFFFFF
##A045DC1.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)
#006FE0
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#97668C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a045dc;
/* rgb */ color: rgb(160, 69, 220);
/* oklch */ color: oklch(58.0% 0.223 308.6);
Tailwind
colors: {
  custom: {
    50: '#c180e8',
    500: '#a045dc',
    950: '#000000',
  },
}
SCSS
$custom: #a045dc;
$custom-light: #c180e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a045dc",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 276.159,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58031,
    "c": 0.223,
    "h": 308.6
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#A045DC
secondary
#B8DDA0
accent
#EB3D82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045DC

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

Preview Lab → · Contrast checker → · Palette generator →

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