#A440B2#A440B2

#A440B2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.191 H 322.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A440B2
RGBrgb(164, 64, 178)
HSLhsl(293, 47%, 47%)
HSVhsv(293, 64%, 70%)
CMYKcmyk(7.9%, 64%, 0%, 30.2%)
CIE-LABlab(45.32, 56.79, -41.72)
CIE-LCHlch(45.32, 70.47, 323.70°)
OKLaboklab(55.3% 0.1518 -0.1161)
OKLCHoklch(55.3% 0.191 322.6)
XYZxyz(25.1783, 14.7750, 43.6365)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A440B2 #4EB240
analogous
#6B40B2 #A440B2 #B24087
triadic
#A440B2 #B2A440 #40B2A4
tetradic
#A440B2 #B26B40 #4EB240 #4087B2
square
#A440B2 #B26B40 #4EB240 #4087B2
split-complementary
#A440B2 #87B240 #40B26B
monochromatic
#512058 #7B3085 #A440B2 #BC67C8 #D094D8

Accessibility & contrast

On white

5.31
#A440B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A440B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A440B2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A440B2#FFFFFF#000000##FFFFFF
##A440B21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#A65273
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a440b2;
/* rgb */ color: rgb(164, 64, 178);
/* oklch */ color: oklch(55.3% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#c27cc9',
    500: '#a440b2',
    950: '#000000',
  },
}
SCSS
$custom: #a440b2;
$custom-light: #c27cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a440b2",
  "rgb": {
    "r": 164,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 292.632,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.19108,
    "h": 322.6
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#A440B2
secondary
#91C48A
accent
#D75161
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A440B2

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

Preview Lab → · Contrast checker → · Palette generator →

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