#A839C8#A839C8

#A839C8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.221 H 317.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A839C8
RGBrgb(168, 57, 200)
HSLhsl(287, 57%, 50%)
HSVhsv(287, 72%, 78%)
CMYKcmyk(16%, 71.5%, 0%, 21.6%)
CIE-LABlab(46.21, 64.70, -53.11)
CIE-LCHlch(46.21, 83.71, 320.62°)
OKLaboklab(56.48% 0.1633 -0.1492)
OKLCHoklch(56.48% 0.221 317.6)
XYZxyz(28.0354, 15.4224, 56.1324)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839C8 #59C839
analogous
#6039C8 #A839C8 #C839A1
triadic
#A839C8 #C8A839 #39C8A8
tetradic
#A839C8 #C86039 #59C839 #39A1C8
square
#A839C8 #C86039 #59C839 #39A1C8
split-complementary
#A839C8 #A1C839 #39C860
monochromatic
#581D69 #802B99 #A839C8 #BD69D5 #D299E3

Accessibility & contrast

On white

5.14
#A839C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A839C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839C8#FFFFFF#000000##FFFFFF
##A839C81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#A7567D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a839c8;
/* rgb */ color: rgb(168, 57, 200);
/* oklch */ color: oklch(56.5% 0.221 317.6);
Tailwind
colors: {
  custom: {
    50: '#c679d9',
    500: '#a839c8',
    950: '#000000',
  },
}
SCSS
$custom: #a839c8;
$custom-light: #c679d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a839c8",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 286.573,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.22122,
    "h": 317.6
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#A839C8
secondary
#9DCE8F
accent
#E0486A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A839C8

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

Preview Lab → · Contrast checker → · Palette generator →

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