#A045D6#A045D6

#A045D6 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.217 H 310.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A045D6
RGBrgb(160, 69, 214)
HSLhsl(278, 64%, 55%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(25.2%, 67.8%, 0%, 16.1%)
CIE-LABlab(47.73, 60.97, -58.77)
CIE-LCHlch(47.73, 84.68, 316.05°)
OKLaboklab(57.62% 0.1397 -0.1661)
OKLCHoklch(57.62% 0.217 310.1)
XYZxyz(28.7606, 16.5855, 65.2915)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045D6 #7BD645
analogous
#5745D6 #A045D6 #D645C4
triadic
#A045D6 #D6A045 #45D6A0
tetradic
#A045D6 #D65745 #7BD645 #45C4D6
square
#A045D6 #D65745 #7BD645 #45C4D6
split-complementary
#A045D6 #C4D645 #45D657
monochromatic
#5D1D84 #8128B6 #A045D6 #BA77E1 #D3A9EC

Accessibility & contrast

On white

4.86
#A045D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A045D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045D6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045D6#FFFFFF#000000##FFFFFF
##A045D61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#2E73D3
Tritanopia (blue-blind)
#996488
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a045d6;
/* rgb */ color: rgb(160, 69, 214);
/* oklch */ color: oklch(57.6% 0.217 310.1);
Tailwind
colors: {
  custom: {
    50: '#c07fe3',
    500: '#a045d6',
    950: '#000000',
  },
}
SCSS
$custom: #a045d6;
$custom-light: #c07fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#a045d6",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 277.655,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.21709,
    "h": 310.1
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#A045D6
secondary
#B4DA9D
accent
#E7417F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045D6

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

Preview Lab → · Contrast checker → · Palette generator →

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