#A945EC#A945EC

#A945EC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.2% C 0.241 H 308.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A945EC
RGBrgb(169, 69, 236)
HSLhsl(276, 81%, 60%)
HSVhsv(276, 71%, 93%)
CMYKcmyk(28.4%, 70.8%, 0%, 7.5%)
CIE-LABlab(50.39, 67.47, -66.89)
CIE-LCHlch(50.39, 95.01, 315.25°)
OKLaboklab(60.23% 0.1485 -0.1897)
OKLCHoklch(60.23% 0.241 308.1)
XYZxyz(33.6275, 18.7479, 81.1878)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A945EC #88EC45
analogous
#5645EC #A945EC #EC45DC
triadic
#A945EC #ECA945 #45ECA9
tetradic
#A945EC #EC5645 #88EC45 #45DCEC
square
#A945EC #EC5645 #88EC45 #45DCEC
split-complementary
#A945EC #DCEC45 #45EC56
monochromatic
#6A11A6 #8E17DD #A945EC #C37DF2 #DCB4F7

Accessibility & contrast

On white

4.42
#A945EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A945EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A945EC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A945EC#FFFFFF#000000##000000
##A945EC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#1179E8
Tritanopia (blue-blind)
#9E6B94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a945ec;
/* rgb */ color: rgb(169, 69, 236);
/* oklch */ color: oklch(60.2% 0.241 308.1);
Tailwind
colors: {
  custom: {
    50: '#c881f3',
    500: '#a945ec',
    950: '#000000',
  },
}
SCSS
$custom: #a945ec;
$custom-light: #c881f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a945ec",
  "rgb": {
    "r": 169,
    "g": 69,
    "b": 236
  },
  "hsl": {
    "h": 275.928,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.24095,
    "h": 308.1
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#A945EC
secondary
#C0E7A6
accent
#F83080
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A945EC

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

Preview Lab → · Contrast checker → · Palette generator →

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