#A841D8#A841D8

#A841D8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.226 H 312.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A841D8
RGBrgb(168, 65, 216)
HSLhsl(281, 66%, 55%)
HSVhsv(281, 70%, 85%)
CMYKcmyk(22.2%, 69.9%, 0%, 15.3%)
CIE-LABlab(48.34, 64.72, -58.88)
CIE-LCHlch(48.34, 87.50, 317.71°)
OKLaboklab(58.32% 0.1538 -0.1662)
OKLCHoklch(58.32% 0.226 312.8)
XYZxyz(30.4312, 17.0642, 66.6431)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841D8 #71D841
analogous
#5C41D8 #A841D8 #D841BD
triadic
#A841D8 #D8A841 #41D8A8
tetradic
#A841D8 #D85C41 #71D841 #41BDD8
square
#A841D8 #D85C41 #71D841 #41BDD8
split-complementary
#A841D8 #BDD841 #41D85C
monochromatic
#621B84 #8825B6 #A841D8 #BF74E2 #D7A7ED

Accessibility & contrast

On white

4.76
#A841D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A841D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841D8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841D8#FFFFFF#000000##FFFFFF
##A841D81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#A36188
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a841d8;
/* rgb */ color: rgb(168, 65, 216);
/* oklch */ color: oklch(58.3% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#c67ee5',
    500: '#a841d8',
    950: '#000000',
  },
}
SCSS
$custom: #a841d8;
$custom-light: #c67ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#a841d8",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 280.927,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.22641,
    "h": 312.8
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#A841D8
secondary
#AFDA9B
accent
#E93F75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A841D8

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

Preview Lab → · Contrast checker → · Palette generator →

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