#A847E2#A847E2

#A847E2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.229 H 309.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A847E2
RGBrgb(168, 71, 226)
HSLhsl(278, 73%, 58%)
HSVhsv(278, 69%, 89%)
CMYKcmyk(25.7%, 68.6%, 0%, 11.4%)
CIE-LABlab(49.89, 64.30, -62.07)
CIE-LCHlch(49.89, 89.38, 316.01°)
OKLaboklab(59.63% 0.1466 -0.1756)
OKLCHoklch(59.63% 0.229 309.8)
XYZxyz(32.1265, 18.3229, 73.7810)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847E2 #81E247
analogous
#5A47E2 #A847E2 #E247CF
triadic
#A847E2 #E2A847 #47E2A8
tetradic
#A847E2 #E25A47 #81E247 #47CFE2
square
#A847E2 #E25A47 #81E247 #47CFE2
split-complementary
#A847E2 #CFE247 #47E25A
monochromatic
#671897 #8B20CC #A847E2 #C17CEA #DAB1F3

Accessibility & contrast

On white

4.50
#A847E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A847E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A847E2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847E2#FFFFFF#000000##000000
##A847E21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2C78DF
Tritanopia (blue-blind)
#A0698F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a847e2;
/* rgb */ color: rgb(168, 71, 226);
/* oklch */ color: oklch(59.6% 0.229 309.8);
Tailwind
colors: {
  custom: {
    50: '#c681ec',
    500: '#a847e2',
    950: '#000000',
  },
}
SCSS
$custom: #a847e2;
$custom-light: #c681ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a847e2",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 277.548,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.22873,
    "h": 309.8
  },
  "luminance": 0.18322
}

Semantic roles & 50–950 ramp

primary
#A847E2
secondary
#BBE1A4
accent
#EF387D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A847E2

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

Preview Lab → · Contrast checker → · Palette generator →

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