#A841D2#A841D2

#A841D2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.221 H 314.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A841D2
RGBrgb(168, 65, 210)
HSLhsl(283, 62%, 54%)
HSVhsv(283, 69%, 82%)
CMYKcmyk(20%, 69%, 0%, 17.6%)
CIE-LABlab(47.96, 63.51, -56.06)
CIE-LCHlch(47.96, 84.71, 318.56°)
OKLaboklab(57.93% 0.1543 -0.1579)
OKLCHoklch(57.93% 0.221 314.3)
XYZxyz(29.6697, 16.7596, 62.6323)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841D2 #6BD241
analogous
#6041D2 #A841D2 #D241B3
triadic
#A841D2 #D2A841 #41D2A8
tetradic
#A841D2 #D26041 #6BD241 #41B3D2
square
#A841D2 #D26041 #6BD241 #41B3D2
split-complementary
#A841D2 #B3D241 #41D260
monochromatic
#601D7B #8729AD #A841D2 #BF72DE #D5A4E9

Accessibility & contrast

On white

4.83
#A841D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A841D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841D2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841D2#FFFFFF#000000##FFFFFF
##A841D21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#A45F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a841d2;
/* rgb */ color: rgb(168, 65, 210);
/* oklch */ color: oklch(57.9% 0.221 314.3);
Tailwind
colors: {
  custom: {
    50: '#c67ee0',
    500: '#a841d2',
    950: '#000000',
  },
}
SCSS
$custom: #a841d2;
$custom-light: #c67ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a841d2",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 282.621,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.22083,
    "h": 314.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#A841D2
secondary
#AAD698
accent
#E54372
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A841D2

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

Preview Lab → · Contrast checker → · Palette generator →

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