#A045D1#A045D1

#A045D1 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.212 H 311.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A045D1
RGBrgb(160, 69, 209)
HSLhsl(279, 60%, 55%)
HSVhsv(279, 67%, 82%)
CMYKcmyk(23.4%, 67%, 0%, 18%)
CIE-LABlab(47.41, 59.90, -56.43)
CIE-LCHlch(47.41, 82.29, 316.71°)
OKLaboklab(57.29% 0.1402 -0.1593)
OKLCHoklch(57.29% 0.212 311.4)
XYZxyz(28.1318, 16.3340, 61.9801)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D1 #76D145
analogous
#5A45D1 #A045D1 #D145BC
triadic
#A045D1 #D1A045 #45D1A0
tetradic
#A045D1 #D15A45 #76D145 #45BCD1
square
#A045D1 #D15A45 #76D145 #45BCD1
split-complementary
#A045D1 #BCD145 #45D15A
monochromatic
#5C1F7D #802BAE #A045D1 #B976DD #D2A7E9

Accessibility & contrast

On white

4.92
#A045D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A045D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D1#FFFFFF#000000##FFFFFF
##A045D11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#9A6286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a045d1;
/* rgb */ color: rgb(160, 69, 209);
/* oklch */ color: oklch(57.3% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#c07fe0',
    500: '#a045d1',
    950: '#000000',
  },
}
SCSS
$custom: #a045d1;
$custom-light: #c07fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d1",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 279,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.21217,
    "h": 311.4
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#A045D1
secondary
#B0D79B
accent
#E3447C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A045D1

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

Preview Lab → · Contrast checker → · Palette generator →

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