#A841DC#A841DC

#A841DC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.230 H 311.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A841DC
RGBrgb(168, 65, 220)
HSLhsl(280, 69%, 56%)
HSVhsv(280, 70%, 86%)
CMYKcmyk(23.6%, 70.5%, 0%, 13.7%)
CIE-LABlab(48.60, 65.55, -60.74)
CIE-LCHlch(48.60, 89.36, 317.18°)
OKLaboklab(58.59% 0.1533 -0.1716)
OKLCHoklch(58.59% 0.23 311.8)
XYZxyz(30.9546, 17.2735, 69.3998)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A841DC #75DC41
analogous
#5A41DC #A841DC #DC41C2
triadic
#A841DC #DCA841 #41DCA8
tetradic
#A841DC #DC5A41 #75DC41 #41C2DC
square
#A841DC #DC5A41 #75DC41 #41C2DC
split-complementary
#A841DC #C2DC41 #41DC5A
monochromatic
#641989 #8923BD #A841DC #C075E6 #D7A8EF

Accessibility & contrast

On white

4.71
#A841DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A841DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A841DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A841DC#FFFFFF#000000##FFFFFF
##A841DC1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2D75D9
Tritanopia (blue-blind)
#A2638A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a841dc;
/* rgb */ color: rgb(168, 65, 220);
/* oklch */ color: oklch(58.6% 0.230 311.8);
Tailwind
colors: {
  custom: {
    50: '#c67ee8',
    500: '#a841dc',
    950: '#000000',
  },
}
SCSS
$custom: #a841dc;
$custom-light: #c67ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a841dc",
  "rgb": {
    "r": 168,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 279.871,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.23014,
    "h": 311.8
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#A841DC
secondary
#B2DD9C
accent
#EC3C77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A841DC

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

Preview Lab → · Contrast checker → · Palette generator →

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