#A841BB#A841BB

#A841BB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.200 H 321.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A841BB
RGBrgb(168, 65, 187)
HSLhsl(291, 48%, 49%)
HSVhsv(291, 65%, 73%)
CMYKcmyk(10.2%, 65.2%, 0%, 26.7%)
CIE-LABlab(46.57, 59.01, -44.98)
CIE-LCHlch(46.57, 74.20, 322.69°)
OKLaboklab(56.49% 0.1554 -0.1255)
OKLCHoklch(56.49% 0.2 321.1)
XYZxyz(27.0074, 15.6946, 48.6109)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841BB #54BB41
analogous
#6B41BB #A841BB #BB4191
triadic
#A841BB #BBA841 #41BBA8
tetradic
#A841BB #BB6B41 #54BB41 #4191BB
square
#A841BB #BB6B41 #54BB41 #4191BB
split-complementary
#A841BB #91BB41 #41BB6B
monochromatic
#562160 #7F318E #A841BB #BD6DCC #D29ADC

Accessibility & contrast

On white

5.07
#A841BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A841BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841BB#FFFFFF#000000##FFFFFF
##A841BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#A95578
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a841bb;
/* rgb */ color: rgb(168, 65, 187);
/* oklch */ color: oklch(56.5% 0.200 321.1);
Tailwind
colors: {
  custom: {
    50: '#c57dd0',
    500: '#a841bb',
    950: '#000000',
  },
}
SCSS
$custom: #a841bb;
$custom-light: #c57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a841bb",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 290.656,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.19974,
    "h": 321.1
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#A841BB
secondary
#99C890
accent
#D85065
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A841BB

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

Preview Lab → · Contrast checker → · Palette generator →

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