#A839C5#A839C5

#A839C5 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.219 H 318.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A839C5
RGBrgb(168, 57, 197)
HSLhsl(288, 55%, 50%)
HSVhsv(288, 71%, 77%)
CMYKcmyk(14.7%, 71.1%, 0%, 22.7%)
CIE-LABlab(46.02, 64.12, -51.68)
CIE-LCHlch(46.02, 82.35, 321.14°)
OKLaboklab(56.28% 0.1636 -0.145)
OKLCHoklch(56.28% 0.219 318.4)
XYZxyz(27.6882, 15.2836, 54.3041)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839C5 #56C539
analogous
#6239C5 #A839C5 #C5399C
triadic
#A839C5 #C5A839 #39C5A8
tetradic
#A839C5 #C56239 #56C539 #399CC5
square
#A839C5 #C56239 #56C539 #399CC5
split-complementary
#A839C5 #9CC539 #39C562
monochromatic
#571E66 #802B96 #A839C5 #BD68D3 #D297E1

Accessibility & contrast

On white

5.18
#A839C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A839C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839C5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839C5#FFFFFF#000000##FFFFFF
##A839C51.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#4071C2
Tritanopia (blue-blind)
#A7557C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a839c5;
/* rgb */ color: rgb(168, 57, 197);
/* oklch */ color: oklch(56.3% 0.219 318.4);
Tailwind
colors: {
  custom: {
    50: '#c679d7',
    500: '#a839c5',
    950: '#000000',
  },
}
SCSS
$custom: #a839c5;
$custom-light: #c679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a839c5",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 287.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.21859,
    "h": 318.4
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#A839C5
secondary
#9ACD8D
accent
#DE4968
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A839C5

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

Preview Lab → · Contrast checker → · Palette generator →

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