#A945E0#A945E0

#A945E0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.230 H 310.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A945E0
RGBrgb(169, 69, 224)
HSLhsl(279, 71%, 57%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(24.6%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.59, 64.93, -61.42)
CIE-LCHlch(49.59, 89.37, 316.59°)
OKLaboklab(59.4% 0.1501 -0.1736)
OKLCHoklch(59.4% 0.23 310.8)
XYZxyz(31.9423, 18.0738, 72.3125)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945E0 #7CE045
analogous
#5C45E0 #A945E0 #E045C9
triadic
#A945E0 #E0A945 #45E0A9
tetradic
#A945E0 #E05C45 #7CE045 #45C9E0
square
#A945E0 #E05C45 #7CE045 #45C9E0
split-complementary
#A945E0 #C9E045 #45E05C
monochromatic
#671892 #8C21C7 #A945E0 #C179E9 #DAAEF1

Accessibility & contrast

On white

4.55
#A945E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A945E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A945E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945E0#FFFFFF#000000##000000
##A945E01.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#A2678E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a945e0;
/* rgb */ color: rgb(169, 69, 224);
/* oklch */ color: oklch(59.4% 0.230 310.8);
Tailwind
colors: {
  custom: {
    50: '#c780ea',
    500: '#a945e0',
    950: '#000000',
  },
}
SCSS
$custom: #a945e0;
$custom-light: #c780ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a945e0",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 278.71,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.22951,
    "h": 310.8
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#A945E0
secondary
#B7E0A1
accent
#EE3A7A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945E0

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

Preview Lab → · Contrast checker → · Palette generator →

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