#A02891#A02891

#A02891 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.192 H 333.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A02891
RGBrgb(160, 40, 145)
HSLhsl(308, 60%, 39%)
HSVhsv(308, 75%, 63%)
CMYKcmyk(0%, 75%, 9.4%, 37.3%)
CIE-LABlab(39.64, 59.36, -31.00)
CIE-LCHlch(39.64, 66.97, 332.42°)
OKLaboklab(50.51% 0.172 -0.085)
OKLCHoklch(50.51% 0.192 333.7)
XYZxyz(20.3670, 11.0373, 27.8403)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02891 #28A037
analogous
#7328A0 #A02891 #A02855
triadic
#A02891 #91A028 #2891A0
tetradic
#A02891 #A07328 #28A037 #2855A0
square
#A02891 #A07328 #28A037 #2855A0
split-complementary
#A02891 #55A028 #28A073
monochromatic
#3E1038 #6F1C65 #A02891 #CD38BB #D969CB

Accessibility & contrast

On white

6.55
#A02891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A02891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02891
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02891#FFFFFF#000000##FFFFFF
##A028911.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#A8345A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02891;
/* rgb */ color: rgb(160, 40, 145);
/* oklch */ color: oklch(50.5% 0.192 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06fb1',
    500: '#a02891',
    950: '#000000',
  },
}
SCSS
$custom: #a02891;
$custom-light: #c06fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02891",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 307.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.19184,
    "h": 333.7
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#A02891
secondary
#64C070
accent
#E35845
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A02891

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

Preview Lab → · Contrast checker → · Palette generator →

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