#A841BA#A841BA

#A841BA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.199 H 321.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A841BA
RGBrgb(168, 65, 186)
HSLhsl(291, 48%, 49%)
HSVhsv(291, 65%, 73%)
CMYKcmyk(9.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(46.51, 58.82, -44.48)
CIE-LCHlch(46.51, 73.75, 322.90°)
OKLaboklab(56.43% 0.1554 -0.124)
OKLCHoklch(56.43% 0.199 321.4)
XYZxyz(26.9007, 15.6520, 48.0490)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841BA #53BA41
analogous
#6B41BA #A841BA #BA4190
triadic
#A841BA #BAA841 #41BAA8
tetradic
#A841BA #BA6B41 #53BA41 #4190BA
square
#A841BA #BA6B41 #53BA41 #4190BA
split-complementary
#A841BA #90BA41 #41BA6B
monochromatic
#56215F #7F318D #A841BA #BE6CCC #D29ADC

Accessibility & contrast

On white

5.08
#A841BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A841BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841BA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841BA#FFFFFF#000000##FFFFFF
##A841BA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#AA5578
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a841ba;
/* rgb */ color: rgb(168, 65, 186);
/* oklch */ color: oklch(56.4% 0.199 321.4);
Tailwind
colors: {
  custom: {
    50: '#c57dcf',
    500: '#a841ba',
    950: '#000000',
  },
}
SCSS
$custom: #a841ba;
$custom-light: #c57dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a841ba",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 291.074,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.19883,
    "h": 321.4
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#A841BA
secondary
#98C88F
accent
#D85064
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A841BA

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

Preview Lab → · Contrast checker → · Palette generator →

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