#A945E5#A945E5

#A945E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.234 H 309.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A945E5
RGBrgb(169, 69, 229)
HSLhsl(278, 75%, 58%)
HSVhsv(278, 70%, 90%)
CMYKcmyk(26.2%, 69.9%, 0%, 10.2%)
CIE-LABlab(49.92, 65.98, -63.71)
CIE-LCHlch(49.92, 91.72, 316.00°)
OKLaboklab(59.75% 0.1495 -0.1804)
OKLCHoklch(59.75% 0.234 309.7)
XYZxyz(32.6304, 18.3491, 75.9363)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945E5 #81E545
analogous
#5945E5 #A945E5 #E545D1
triadic
#A945E5 #E5A945 #45E5A9
tetradic
#A945E5 #E55945 #81E545 #45D1E5
square
#A945E5 #E55945 #81E545 #45D1E5
split-complementary
#A945E5 #D1E545 #45E559
monochromatic
#68169A #8D1DD0 #A945E5 #C27BED #DBB0F4

Accessibility & contrast

On white

4.50
#A945E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A945E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A945E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945E5#FFFFFF#000000##000000
##A945E51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#A06991
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a945e5;
/* rgb */ color: rgb(169, 69, 229);
/* oklch */ color: oklch(59.7% 0.234 309.7);
Tailwind
colors: {
  custom: {
    50: '#c781ee',
    500: '#a945e5',
    950: '#000000',
  },
}
SCSS
$custom: #a945e5;
$custom-light: #c781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a945e5",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 277.5,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.23428,
    "h": 309.7
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#A945E5
secondary
#BBE3A3
accent
#F2367C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A945E5

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

Preview Lab → · Contrast checker → · Palette generator →

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