#A839CD#A839CD

#A839CD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.226 H 316.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A839CD
RGBrgb(168, 57, 205)
HSLhsl(285, 60%, 51%)
HSVhsv(285, 72%, 80%)
CMYKcmyk(18%, 72.2%, 0%, 19.6%)
CIE-LABlab(46.53, 65.66, -55.49)
CIE-LCHlch(46.53, 85.97, 319.80°)
OKLaboklab(56.8% 0.1628 -0.1562)
OKLCHoklch(56.8% 0.226 316.2)
XYZxyz(28.6293, 15.6600, 59.2604)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839CD #5ECD39
analogous
#5E39CD #A839CD #CD39A8
triadic
#A839CD #CDA839 #39CDA8
tetradic
#A839CD #CD5E39 #5ECD39 #39A8CD
square
#A839CD #CD5E39 #5ECD39 #39A8CD
split-complementary
#A839CD #A8CD39 #39CD5E
monochromatic
#5B1C6F #8228A0 #A839CD #BD6AD9 #D39BE6

Accessibility & contrast

On white

5.08
#A839CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A839CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839CD#FFFFFF#000000##FFFFFF
##A839CD1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#A65880
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a839cd;
/* rgb */ color: rgb(168, 57, 205);
/* oklch */ color: oklch(56.8% 0.226 316.2);
Tailwind
colors: {
  custom: {
    50: '#c67add',
    500: '#a839cd',
    950: '#000000',
  },
}
SCSS
$custom: #a839cd;
$custom-light: #c67add;
$custom-dark: #000000;
JSON
{
  "hex": "#a839cd",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 285,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.22562,
    "h": 316.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#A839CD
secondary
#A1D290
accent
#E3456C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A839CD

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

Preview Lab → · Contrast checker → · Palette generator →

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