#A841BF#A841BF

#A841BF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.7% C 0.203 H 319.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A841BF
RGBrgb(168, 65, 191)
HSLhsl(289, 50%, 50%)
HSVhsv(289, 66%, 75%)
CMYKcmyk(12%, 66%, 0%, 25.1%)
CIE-LABlab(46.80, 59.77, -46.94)
CIE-LCHlch(46.80, 76.00, 321.86°)
OKLaboklab(56.73% 0.1554 -0.1312)
OKLCHoklch(56.73% 0.203 319.8)
XYZxyz(27.4415, 15.8683, 50.8975)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841BF #58BF41
analogous
#6941BF #A841BF #BF4197
triadic
#A841BF #BFA841 #41BFA8
tetradic
#A841BF #BF6941 #58BF41 #4197BF
square
#A841BF #BF6941 #58BF41 #4197BF
split-complementary
#A841BF #97BF41 #41BF69
monochromatic
#582264 #803192 #A841BF #BD6FCE #D29DDE

Accessibility & contrast

On white

5.03
#A841BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A841BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841BF#FFFFFF#000000##FFFFFF
##A841BF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#A9577B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a841bf;
/* rgb */ color: rgb(168, 65, 191);
/* oklch */ color: oklch(56.7% 0.203 319.8);
Tailwind
colors: {
  custom: {
    50: '#c57dd3',
    500: '#a841bf',
    950: '#000000',
  },
}
SCSS
$custom: #a841bf;
$custom-light: #c57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a841bf",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 289.048,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.20336,
    "h": 319.8
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#A841BF
secondary
#9CCA92
accent
#D94F68
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A841BF

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

Preview Lab → · Contrast checker → · Palette generator →

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