#A839CE#A839CE

#A839CE is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.227 H 315.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A839CE
RGBrgb(168, 57, 206)
HSLhsl(285, 60%, 52%)
HSVhsv(285, 72%, 81%)
CMYKcmyk(18.4%, 72.3%, 0%, 19.2%)
CIE-LABlab(46.59, 65.86, -55.96)
CIE-LCHlch(46.59, 86.42, 319.64°)
OKLaboklab(56.87% 0.1627 -0.1576)
OKLCHoklch(56.87% 0.227 315.9)
XYZxyz(28.7504, 15.7084, 59.8981)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839CE #5FCE39
analogous
#5E39CE #A839CE #CE39AA
triadic
#A839CE #CEA839 #39CEA8
tetradic
#A839CE #CE5E39 #5FCE39 #39AACE
square
#A839CE #CE5E39 #5FCE39 #39AACE
split-complementary
#A839CE #AACE39 #39CE5E
monochromatic
#5B1C71 #8328A2 #A839CE #BE6ADA #D39BE6

Accessibility & contrast

On white

5.07
#A839CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A839CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839CE#FFFFFF#000000##FFFFFF
##A839CE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#3771CB
Tritanopia (blue-blind)
#A55881
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a839ce;
/* rgb */ color: rgb(168, 57, 206);
/* oklch */ color: oklch(56.9% 0.227 315.9);
Tailwind
colors: {
  custom: {
    50: '#c67ade',
    500: '#a839ce',
    950: '#000000',
  },
}
SCSS
$custom: #a839ce;
$custom-light: #c67ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a839ce",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 284.698,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.2265,
    "h": 315.9
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#A839CE
secondary
#A1D291
accent
#E3446D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A839CE

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

Preview Lab → · Contrast checker → · Palette generator →

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