#A839CC#A839CC

#A839CC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.225 H 316.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A839CC
RGBrgb(168, 57, 204)
HSLhsl(285, 59%, 51%)
HSVhsv(285, 72%, 80%)
CMYKcmyk(17.6%, 72.1%, 0%, 20%)
CIE-LABlab(46.46, 65.47, -55.02)
CIE-LCHlch(46.46, 85.51, 319.96°)
OKLaboklab(56.74% 0.1629 -0.1548)
OKLCHoklch(56.74% 0.225 316.5)
XYZxyz(28.5090, 15.6119, 58.6267)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839CC #5DCC39
analogous
#5E39CC #A839CC #CC39A6
triadic
#A839CC #CCA839 #39CCA8
tetradic
#A839CC #CC5E39 #5DCC39 #39A6CC
square
#A839CC #CC5E39 #5DCC39 #39A6CC
split-complementary
#A839CC #A6CC39 #39CC5E
monochromatic
#5A1C6E #82299F #A839CC #BD6AD9 #D39AE5

Accessibility & contrast

On white

5.09
#A839CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A839CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839CC#FFFFFF#000000##FFFFFF
##A839CC1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#A6587F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a839cc;
/* rgb */ color: rgb(168, 57, 204);
/* oklch */ color: oklch(56.7% 0.225 316.5);
Tailwind
colors: {
  custom: {
    50: '#c67adc',
    500: '#a839cc',
    950: '#000000',
  },
}
SCSS
$custom: #a839cc;
$custom-light: #c67adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a839cc",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 285.306,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.22473,
    "h": 316.5
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#A839CC
secondary
#A0D190
accent
#E2466C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A839CC

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

Preview Lab → · Contrast checker → · Palette generator →

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