#A045D5#A045D5

#A045D5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.216 H 310.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A045D5
RGBrgb(160, 69, 213)
HSLhsl(278, 63%, 55%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(24.9%, 67.6%, 0%, 16.5%)
CIE-LABlab(47.67, 60.75, -58.30)
CIE-LCHlch(47.67, 84.20, 316.18°)
OKLaboklab(57.55% 0.1398 -0.1648)
OKLCHoklch(57.55% 0.216 310.3)
XYZxyz(28.6332, 16.5345, 64.6210)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D5 #7AD545
analogous
#5845D5 #A045D5 #D545C2
triadic
#A045D5 #D5A045 #45D5A0
tetradic
#A045D5 #D55845 #7AD545 #45C2D5
square
#A045D5 #D55845 #7AD545 #45C2D5
split-complementary
#A045D5 #C2D545 #45D558
monochromatic
#5D1D82 #8129B4 #A045D5 #BA77E0 #D3A9EC

Accessibility & contrast

On white

4.88
#A045D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A045D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D5#FFFFFF#000000##FFFFFF
##A045D51.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2F73D2
Tritanopia (blue-blind)
#996388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a045d5;
/* rgb */ color: rgb(160, 69, 213);
/* oklch */ color: oklch(57.6% 0.216 310.3);
Tailwind
colors: {
  custom: {
    50: '#c07fe3',
    500: '#a045d5',
    950: '#000000',
  },
}
SCSS
$custom: #a045d5;
$custom-light: #c07fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d5",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 277.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.21611,
    "h": 310.3
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#A045D5
secondary
#B3D99D
accent
#E6427E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A045D5

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

Preview Lab → · Contrast checker → · Palette generator →

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