#A847BD#A847BD

#A847BD is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.193 H 320.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A847BD
RGBrgb(168, 71, 189)
HSLhsl(289, 47%, 51%)
HSVhsv(289, 62%, 74%)
CMYKcmyk(11.1%, 62.4%, 0%, 25.9%)
CIE-LABlab(47.63, 56.77, -44.45)
CIE-LCHlch(47.63, 72.10, 321.94°)
OKLaboklab(57.29% 0.1484 -0.124)
OKLCHoklch(57.29% 0.193 320.1)
XYZxyz(27.5859, 16.5067, 49.8673)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847BD #5CBD47
analogous
#6D47BD #A847BD #BD4797
triadic
#A847BD #BDA847 #47BDA8
tetradic
#A847BD #BD6D47 #5CBD47 #4797BD
square
#A847BD #BD6D47 #5CBD47 #4797BD
split-complementary
#A847BD #97BD47 #47BD6D
monochromatic
#5A2465 #823492 #A847BD #BD74CD #D3A1DD

Accessibility & contrast

On white

4.88
#A847BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A847BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A847BD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847BD#FFFFFF#000000##FFFFFF
##A847BD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#A95A7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a847bd;
/* rgb */ color: rgb(168, 71, 189);
/* oklch */ color: oklch(57.3% 0.193 320.1);
Tailwind
colors: {
  custom: {
    50: '#c580d1',
    500: '#a847bd',
    950: '#000000',
  },
}
SCSS
$custom: #a847bd;
$custom-light: #c580d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a847bd",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 289.322,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.19337,
    "h": 320.1
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#A847BD
secondary
#9FCA96
accent
#D75169
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A847BD

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

Preview Lab → · Contrast checker → · Palette generator →

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