#A045D3#A045D3

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

Color values

HEX#A045D3
RGBrgb(160, 69, 211)
HSLhsl(278, 62%, 55%)
HSVhsv(278, 67%, 83%)
CMYKcmyk(24.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(47.54, 60.32, -57.37)
CIE-LCHlch(47.54, 83.24, 316.44°)
OKLaboklab(57.42% 0.14 -0.162)
OKLCHoklch(57.42% 0.214 310.8)
XYZxyz(28.3810, 16.4336, 63.2923)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D3 #78D345
analogous
#5945D3 #A045D3 #D345BF
triadic
#A045D3 #D3A045 #45D3A0
tetradic
#A045D3 #D35945 #78D345 #45BFD3
square
#A045D3 #D35945 #78D345 #45BFD3
split-complementary
#A045D3 #BFD345 #45D359
monochromatic
#5D1E7F #802AB1 #A045D3 #B976DF #D3A8EA

Accessibility & contrast

On white

4.90
#A045D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A045D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D3#FFFFFF#000000##FFFFFF
##A045D31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#3272D0
Tritanopia (blue-blind)
#996387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a045d3;
/* rgb */ color: rgb(160, 69, 211);
/* oklch */ color: oklch(57.4% 0.214 310.8);
Tailwind
colors: {
  custom: {
    50: '#c07fe1',
    500: '#a045d3',
    950: '#000000',
  },
}
SCSS
$custom: #a045d3;
$custom-light: #c07fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d3",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 278.451,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.21413,
    "h": 310.8
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#A045D3
secondary
#B1D89C
accent
#E5437D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A045D3

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

Preview Lab → · Contrast checker → · Palette generator →

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