#A045D2#A045D2

#A045D2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.213 H 311.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A045D2
RGBrgb(160, 69, 210)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 67%, 82%)
CMYKcmyk(23.8%, 67.1%, 0%, 17.6%)
CIE-LABlab(47.47, 60.11, -56.90)
CIE-LCHlch(47.47, 82.77, 316.57°)
OKLaboklab(57.35% 0.1401 -0.1606)
OKLCHoklch(57.35% 0.213 311.1)
XYZxyz(28.2560, 16.3836, 62.6341)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D2 #77D245
analogous
#5945D2 #A045D2 #D245BE
triadic
#A045D2 #D2A045 #45D2A0
tetradic
#A045D2 #D25945 #77D245 #45BED2
square
#A045D2 #D25945 #77D245 #45BED2
split-complementary
#A045D2 #BED245 #45D259
monochromatic
#5C1F7E #802AAF #A045D2 #B976DE #D2A8EA

Accessibility & contrast

On white

4.91
#A045D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A045D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D2#FFFFFF#000000##FFFFFF
##A045D21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#9A6286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a045d2;
/* rgb */ color: rgb(160, 69, 210);
/* oklch */ color: oklch(57.4% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#c07fe0',
    500: '#a045d2',
    950: '#000000',
  },
}
SCSS
$custom: #a045d2;
$custom-light: #c07fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d2",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 278.723,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.21315,
    "h": 311.1
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#A045D2
secondary
#B1D79C
accent
#E4447D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A045D2

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

Preview Lab → · Contrast checker → · Palette generator →

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