#A264AB#A264AB

#A264AB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.7% C 0.125 H 322.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A264AB
RGBrgb(162, 100, 171)
HSLhsl(292, 30%, 53%)
HSVhsv(292, 42%, 67%)
CMYKcmyk(5.3%, 41.5%, 0%, 32.9%)
CIE-LABlab(51.54, 36.79, -27.88)
CIE-LCHlch(51.54, 46.16, 322.84°)
OKLaboklab(59.72% 0.0991 -0.0765)
OKLCHoklch(59.72% 0.125 322.3)
XYZxyz(26.8073, 19.7370, 40.9177)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264AB #6DAB64
analogous
#7E64AB #A264AB #AB6490
triadic
#A264AB #ABA264 #64ABA2
tetradic
#A264AB #AB7E64 #6DAB64 #6490AB
square
#A264AB #AB7E64 #6DAB64 #6490AB
split-complementary
#A264AB #90AB64 #64AB7E
monochromatic
#5B3460 #804A88 #A264AB #BA8CC1 #D2B3D6

Accessibility & contrast

On white

4.24
#A264AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A264AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264AB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264AB#FFFFFF#000000##000000
##A264AB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AE
Deuteranopia (green-blind)
#6C7DA9
Tritanopia (blue-blind)
#A46C7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a264ab;
/* rgb */ color: rgb(162, 100, 171);
/* oklch */ color: oklch(59.7% 0.125 322.3);
Tailwind
colors: {
  custom: {
    50: '#bf91c4',
    500: '#a264ab',
    950: '#000000',
  },
}
SCSS
$custom: #a264ab;
$custom-light: #bf91c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a264ab",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 292.394,
    "s": 29.707,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.12516,
    "h": 322.3
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#A264AB
secondary
#AAC5A6
accent
#C6626F
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A264AB

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

Preview Lab → · Contrast checker → · Palette generator →

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