#A841B2#A841B2

#A841B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.192 H 324.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A841B2
RGBrgb(168, 65, 178)
HSLhsl(295, 47%, 48%)
HSVhsv(295, 63%, 70%)
CMYKcmyk(5.6%, 63.5%, 0%, 30.2%)
CIE-LABlab(46.07, 57.33, -40.50)
CIE-LCHlch(46.07, 70.20, 324.76°)
OKLaboklab(55.96% 0.1552 -0.1125)
OKLCHoklch(55.96% 0.192 324.1)
XYZxyz(26.0739, 15.3213, 43.6948)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841B2 #4BB241
analogous
#6F41B2 #A841B2 #B24184
triadic
#A841B2 #B2A841 #41B2A8
tetradic
#A841B2 #B26F41 #4BB241 #4184B2
square
#A841B2 #B26F41 #4BB241 #4184B2
split-complementary
#A841B2 #84B241 #41B26F
monochromatic
#532058 #7E3185 #A841B2 #BF68C8 #D295D8

Accessibility & contrast

On white

5.17
#A841B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A841B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841B2#FFFFFF#000000##FFFFFF
##A841B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#AB5274
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a841b2;
/* rgb */ color: rgb(168, 65, 178);
/* oklch */ color: oklch(56.0% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#c57dc9',
    500: '#a841b2',
    950: '#000000',
  },
}
SCSS
$custom: #a841b2;
$custom-light: #c57dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a841b2",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 294.69,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.1917,
    "h": 324.1
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#A841B2
secondary
#90C48B
accent
#D6525D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A841B2

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

Preview Lab → · Contrast checker → · Palette generator →

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