#A839CA#A839CA

#A839CA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.223 H 317.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A839CA
RGBrgb(168, 57, 202)
HSLhsl(286, 58%, 51%)
HSVhsv(286, 72%, 79%)
CMYKcmyk(16.8%, 71.8%, 0%, 20.8%)
CIE-LABlab(46.33, 65.08, -54.07)
CIE-LCHlch(46.33, 84.61, 320.28°)
OKLaboklab(56.61% 0.1631 -0.152)
OKLCHoklch(56.61% 0.223 317)
XYZxyz(28.2707, 15.5165, 57.3715)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839CA #5BCA39
analogous
#5F39CA #A839CA #CA39A3
triadic
#A839CA #CAA839 #39CAA8
tetradic
#A839CA #CA5F39 #5BCA39 #39A3CA
square
#A839CA #CA5F39 #5BCA39 #39A3CA
split-complementary
#A839CA #A3CA39 #39CA5F
monochromatic
#591D6C #812A9C #A839CA #BD69D7 #D29AE4

Accessibility & contrast

On white

5.12
#A839CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A839CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839CA#FFFFFF#000000##FFFFFF
##A839CA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#A6577E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a839ca;
/* rgb */ color: rgb(168, 57, 202);
/* oklch */ color: oklch(56.6% 0.223 317.0);
Tailwind
colors: {
  custom: {
    50: '#c67adb',
    500: '#a839ca',
    950: '#000000',
  },
}
SCSS
$custom: #a839ca;
$custom-light: #c67adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a839ca",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 285.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.22297,
    "h": 317
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#A839CA
secondary
#9ED08F
accent
#E1476B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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