#A843D7#A843D7

#A843D7 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.223 H 312.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A843D7
RGBrgb(168, 67, 215)
HSLhsl(281, 65%, 55%)
HSVhsv(281, 69%, 84%)
CMYKcmyk(21.9%, 68.8%, 0%, 15.7%)
CIE-LABlab(48.57, 63.70, -57.94)
CIE-LCHlch(48.57, 86.11, 317.71°)
OKLaboklab(58.47% 0.1518 -0.1635)
OKLCHoklch(58.47% 0.223 312.9)
XYZxyz(30.4192, 17.2463, 66.0033)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A843D7 #72D743
analogous
#5E43D7 #A843D7 #D743BC
triadic
#A843D7 #D7A843 #43D7A8
tetradic
#A843D7 #D75E43 #72D743 #43BCD7
square
#A843D7 #D75E43 #72D743 #43BCD7
split-complementary
#A843D7 #BCD743 #43D75E
monochromatic
#631C84 #8927B6 #A843D7 #BF75E2 #D7A8EC

Accessibility & contrast

On white

4.72
#A843D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A843D7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A843D7#FFFFFF#000000##FFFFFF
##A843D71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3676D4
Tritanopia (blue-blind)
#A36288
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a843d7;
/* rgb */ color: rgb(168, 67, 215);
/* oklch */ color: oklch(58.5% 0.223 312.9);
Tailwind
colors: {
  custom: {
    50: '#c67fe4',
    500: '#a843d7',
    950: '#000000',
  },
}
SCSS
$custom: #a843d7;
$custom-light: #c67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a843d7",
  "rgb": {
    "r": 168,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 280.946,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.22308,
    "h": 312.9
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#A843D7
secondary
#B0DA9C
accent
#E84075
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A843D7

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

Preview Lab → · Contrast checker → · Palette generator →

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