#A839B4#A839B4

#A839B4 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.204 H 323.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A839B4
RGBrgb(168, 57, 180)
HSLhsl(294, 52%, 46%)
HSVhsv(294, 68%, 71%)
CMYKcmyk(6.7%, 68.3%, 0%, 29.4%)
CIE-LABlab(45.01, 60.98, -43.36)
CIE-LCHlch(45.01, 74.82, 324.58°)
OKLaboklab(55.23% 0.1643 -0.1207)
OKLCHoklch(55.23% 0.204 323.7)
XYZxyz(25.8491, 14.5479, 44.6177)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839B4 #45B439
analogous
#6B39B4 #A839B4 #B43983
triadic
#A839B4 #B4A839 #39B4A8
tetradic
#A839B4 #B46B39 #45B439 #3983B4
square
#A839B4 #B46B39 #45B439 #3983B4
split-complementary
#A839B4 #83B439 #39B46B
monochromatic
#511C57 #7D2A86 #A839B4 #C15ECC #D38DDB

Accessibility & contrast

On white

5.37
#A839B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A839B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839B4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839B4#FFFFFF#000000##FFFFFF
##A839B41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1862B8
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#AB4D72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a839b4;
/* rgb */ color: rgb(168, 57, 180);
/* oklch */ color: oklch(55.2% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#c579cb',
    500: '#a839b4',
    950: '#000000',
  },
}
SCSS
$custom: #a839b4;
$custom-light: #c579cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a839b4",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 294.146,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.20388,
    "h": 323.7
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#A839B4
secondary
#8AC583
accent
#DB4C5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A839B4

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

Preview Lab → · Contrast checker → · Palette generator →

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