#A839B2#A839B2

#A839B2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.202 H 324.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A839B2
RGBrgb(168, 57, 178)
HSLhsl(295, 51%, 46%)
HSVhsv(295, 68%, 70%)
CMYKcmyk(5.6%, 68%, 0%, 30.2%)
CIE-LABlab(44.90, 60.62, -42.37)
CIE-LCHlch(44.90, 73.96, 325.05°)
OKLaboklab(55.12% 0.1643 -0.1178)
OKLCHoklch(55.12% 0.202 324.3)
XYZxyz(25.6468, 14.4670, 43.5524)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839B2 #43B239
analogous
#6B39B2 #A839B2 #B2397F
triadic
#A839B2 #B2A839 #39B2A8
tetradic
#A839B2 #B26B39 #43B239 #397FB2
square
#A839B2 #B26B39 #43B239 #397FB2
split-complementary
#A839B2 #7FB239 #39B26B
monochromatic
#501B55 #7C2A84 #A839B2 #C25DCB #D38BDA

Accessibility & contrast

On white

5.39
#A839B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A839B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839B2#FFFFFF#000000##FFFFFF
##A839B21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#AB4C71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a839b2;
/* rgb */ color: rgb(168, 57, 178);
/* oklch */ color: oklch(55.1% 0.202 324.3);
Tailwind
colors: {
  custom: {
    50: '#c579c9',
    500: '#a839b2',
    950: '#000000',
  },
}
SCSS
$custom: #a839b2;
$custom-light: #c579c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a839b2",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 295.041,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.20218,
    "h": 324.3
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#A839B2
secondary
#88C482
accent
#DB4D59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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