#A045D9#A045D9

#A045D9 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.220 H 309.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A045D9
RGBrgb(160, 69, 217)
HSLhsl(277, 66%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(26.3%, 68.2%, 0%, 14.9%)
CIE-LABlab(47.93, 61.61, -60.16)
CIE-LCHlch(47.93, 86.11, 315.68°)
OKLaboklab(57.83% 0.1394 -0.1703)
OKLCHoklch(57.83% 0.22 309.3)
XYZxyz(29.1472, 16.7401, 67.3279)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D9 #7ED945
analogous
#5645D9 #A045D9 #D945C8
triadic
#A045D9 #D9A045 #45D9A0
tetradic
#A045D9 #D95645 #7ED945 #45C8D9
square
#A045D9 #D95645 #7ED945 #45C8D9
split-complementary
#A045D9 #C8D945 #45D956
monochromatic
#5E1C88 #8126BB #A045D9 #BA78E3 #D4ABEE

Accessibility & contrast

On white

4.83
#A045D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A045D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D9#FFFFFF#000000##FFFFFF
##A045D91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2973D6
Tritanopia (blue-blind)
#98658A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a045d9;
/* rgb */ color: rgb(160, 69, 217);
/* oklch */ color: oklch(57.8% 0.220 309.3);
Tailwind
colors: {
  custom: {
    50: '#c17fe6',
    500: '#a045d9',
    950: '#000000',
  },
}
SCSS
$custom: #a045d9;
$custom-light: #c17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d9",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 276.892,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.22005,
    "h": 309.3
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#A045D9
secondary
#B6DB9E
accent
#E93F80
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045D9

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

Preview Lab → · Contrast checker → · Palette generator →

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