#A240AA#A240AA

#A240AA is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.183 H 324.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A240AA
RGBrgb(162, 64, 170)
HSLhsl(295, 45%, 46%)
HSVhsv(295, 62%, 67%)
CMYKcmyk(4.7%, 62.4%, 0%, 33.3%)
CIE-LABlab(44.59, 54.81, -38.18)
CIE-LCHlch(44.59, 66.80, 325.14°)
OKLaboklab(54.57% 0.1491 -0.1059)
OKLCHoklch(54.57% 0.183 324.6)
XYZxyz(23.9888, 14.2518, 39.5098)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A240AA #48AA40
analogous
#6D40AA #A240AA #AA407D
triadic
#A240AA #AAA240 #40AAA2
tetradic
#A240AA #AA6D40 #48AA40 #407DAA
square
#A240AA #AA6D40 #48AA40 #407DAA
split-complementary
#A240AA #7DAA40 #40AA6D
monochromatic
#4D1F51 #782F7E #A240AA #BD63C4 #D08FD5

Accessibility & contrast

On white

5.45
#A240AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A240AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A240AA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A240AA#FFFFFF#000000##FFFFFF
##A240AA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#526EA7
Tritanopia (blue-blind)
#A54F6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a240aa;
/* rgb */ color: rgb(162, 64, 170);
/* oklch */ color: oklch(54.6% 0.183 324.6);
Tailwind
colors: {
  custom: {
    50: '#c07bc4',
    500: '#a240aa',
    950: '#000000',
  },
}
SCSS
$custom: #a240aa;
$custom-light: #c07bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a240aa",
  "rgb": {
    "r": 162,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 295.472,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.18289,
    "h": 324.6
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#A240AA
secondary
#8AC086
accent
#D5535D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A240AA

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

Preview Lab → · Contrast checker → · Palette generator →

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