#A841D7#A841D7

#A841D7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.225 H 313.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A841D7
RGBrgb(168, 65, 215)
HSLhsl(281, 65%, 55%)
HSVhsv(281, 70%, 84%)
CMYKcmyk(21.9%, 69.8%, 0%, 15.7%)
CIE-LABlab(48.28, 64.52, -58.41)
CIE-LCHlch(48.28, 87.03, 317.85°)
OKLaboklab(58.26% 0.1539 -0.1648)
OKLCHoklch(58.26% 0.225 313)
XYZxyz(30.3023, 17.0126, 65.9643)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841D7 #70D741
analogous
#5D41D7 #A841D7 #D741BB
triadic
#A841D7 #D7A841 #41D7A8
tetradic
#A841D7 #D75D41 #70D741 #41BBD7
square
#A841D7 #D75D41 #70D741 #41BBD7
split-complementary
#A841D7 #BBD741 #41D75D
monochromatic
#621B82 #8826B5 #A841D7 #BF74E2 #D6A6EC

Accessibility & contrast

On white

4.77
#A841D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A841D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841D7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841D7#FFFFFF#000000##FFFFFF
##A841D71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#3475D4
Tritanopia (blue-blind)
#A36188
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a841d7;
/* rgb */ color: rgb(168, 65, 215);
/* oklch */ color: oklch(58.3% 0.225 313.0);
Tailwind
colors: {
  custom: {
    50: '#c67ee4',
    500: '#a841d7',
    950: '#000000',
  },
}
SCSS
$custom: #a841d7;
$custom-light: #c67ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#a841d7",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 281.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.22548,
    "h": 313
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#A841D7
secondary
#AED99A
accent
#E84074
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A841D7

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

Preview Lab → · Contrast checker → · Palette generator →

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