#A847D9#A847D9

#A847D9 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.220 H 312.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A847D9
RGBrgb(168, 71, 217)
HSLhsl(280, 66%, 56%)
HSVhsv(280, 67%, 85%)
CMYKcmyk(22.6%, 67.3%, 0%, 14.9%)
CIE-LABlab(49.30, 62.41, -57.90)
CIE-LCHlch(49.30, 85.13, 317.15°)
OKLaboklab(59.03% 0.1474 -0.1633)
OKLCHoklch(59.03% 0.22 312.1)
XYZxyz(30.9238, 17.8419, 67.4470)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847D9 #78D947
analogous
#5F47D9 #A847D9 #D947C1
triadic
#A847D9 #D9A847 #47D9A8
tetradic
#A847D9 #D95F47 #78D947 #47C1D9
square
#A847D9 #D95F47 #78D947 #47C1D9
split-complementary
#A847D9 #C1D947 #47D95F
monochromatic
#651C89 #8A27BC #A847D9 #C07AE3 #D8ACEE

Accessibility & contrast

On white

4.60
#A847D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A847D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A847D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847D9#FFFFFF#000000##FFFFFF
##A847D91.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#A2658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a847d9;
/* rgb */ color: rgb(168, 71, 217);
/* oklch */ color: oklch(59.0% 0.220 312.1);
Tailwind
colors: {
  custom: {
    50: '#c681e5',
    500: '#a847d9',
    950: '#000000',
  },
}
SCSS
$custom: #a847d9;
$custom-light: #c681e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a847d9",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 279.863,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.22004,
    "h": 312.1
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#A847D9
secondary
#B4DCA0
accent
#E93F78
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A847D9

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

Preview Lab → · Contrast checker → · Palette generator →

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