#A841C2#A841C2

#A841C2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.206 H 318.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A841C2
RGBrgb(168, 65, 194)
HSLhsl(288, 51%, 51%)
HSVhsv(288, 66%, 76%)
CMYKcmyk(13.4%, 66.5%, 0%, 23.9%)
CIE-LABlab(46.98, 60.35, -48.40)
CIE-LCHlch(46.98, 77.36, 321.27°)
OKLaboklab(56.91% 0.1553 -0.1355)
OKLCHoklch(56.91% 0.206 318.9)
XYZxyz(27.7751, 16.0017, 52.6541)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841C2 #5BC241
analogous
#6741C2 #A841C2 #C2419B
triadic
#A841C2 #C2A841 #41C2A8
tetradic
#A841C2 #C26741 #5BC241 #419BC2
square
#A841C2 #C26741 #5BC241 #419BC2
split-complementary
#A841C2 #9BC241 #41C267
monochromatic
#592167 #813096 #A841C2 #BD6FD1 #D29EE0

Accessibility & contrast

On white

5.00
#A841C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A841C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841C2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841C2#FFFFFF#000000##FFFFFF
##A841C21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F69C6
Deuteranopia (green-blind)
#4973BF
Tritanopia (blue-blind)
#A8587C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a841c2;
/* rgb */ color: rgb(168, 65, 194);
/* oklch */ color: oklch(56.9% 0.206 318.9);
Tailwind
colors: {
  custom: {
    50: '#c57dd5',
    500: '#a841c2',
    950: '#000000',
  },
}
SCSS
$custom: #a841c2;
$custom-light: #c57dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a841c2",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 287.907,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.2061,
    "h": 318.9
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#A841C2
secondary
#9ECC93
accent
#DB4D6A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A841C2

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

Preview Lab → · Contrast checker → · Palette generator →

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