#A847DD#A847DD

#A847DD is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.224 H 311.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A847DD
RGBrgb(168, 71, 221)
HSLhsl(279, 69%, 57%)
HSVhsv(279, 68%, 87%)
CMYKcmyk(24%, 67.9%, 0%, 13.3%)
CIE-LABlab(49.56, 63.25, -59.76)
CIE-LCHlch(49.56, 87.02, 316.62°)
OKLaboklab(59.3% 0.1471 -0.1688)
OKLCHoklch(59.3% 0.224 311.1)
XYZxyz(31.4504, 18.0525, 70.2203)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847DD #7CDD47
analogous
#5D47DD #A847DD #DD47C7
triadic
#A847DD #DDA847 #47DDA8
tetradic
#A847DD #DD5D47 #7CDD47 #47C7DD
square
#A847DD #DD5D47 #7CDD47 #47C7DD
split-complementary
#A847DD #C7DD47 #47DD5D
monochromatic
#661A8F #8B24C3 #A847DD #C07BE7 #D9AEF0

Accessibility & contrast

On white

4.55
#A847DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A847DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A847DD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847DD#FFFFFF#000000##000000
##A847DD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#A1678D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a847dd;
/* rgb */ color: rgb(168, 71, 221);
/* oklch */ color: oklch(59.3% 0.224 311.1);
Tailwind
colors: {
  custom: {
    50: '#c681e8',
    500: '#a847dd',
    950: '#000000',
  },
}
SCSS
$custom: #a847dd;
$custom-light: #c681e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a847dd",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 278.8,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.2239,
    "h": 311.1
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#A847DD
secondary
#B7DEA2
accent
#EC3C7A
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A847DD

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

Preview Lab → · Contrast checker → · Palette generator →

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