#A847E5#A847E5

#A847E5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.232 H 309.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A847E5
RGBrgb(168, 71, 229)
HSLhsl(277, 75%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(26.6%, 69%, 0%, 10.2%)
CIE-LABlab(50.08, 64.94, -63.45)
CIE-LCHlch(50.08, 90.79, 315.67°)
OKLaboklab(59.84% 0.1462 -0.1796)
OKLCHoklch(59.84% 0.232 309.1)
XYZxyz(32.5417, 18.4890, 75.9680)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847E5 #84E547
analogous
#5947E5 #A847E5 #E547D3
triadic
#A847E5 #E5A847 #47E5A8
tetradic
#A847E5 #E55947 #84E547 #47D3E5
square
#A847E5 #E55947 #84E547 #47D3E5
split-complementary
#A847E5 #D3E547 #47E559
monochromatic
#68169C #8C1ED1 #A847E5 #C17DED #DBB2F4

Accessibility & contrast

On white

4.47
#A847E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A847E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A847E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847E5#FFFFFF#000000##000000
##A847E51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2678E2
Tritanopia (blue-blind)
#9F6A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a847e5;
/* rgb */ color: rgb(168, 71, 229);
/* oklch */ color: oklch(59.8% 0.232 309.1);
Tailwind
colors: {
  custom: {
    50: '#c782ee',
    500: '#a847e5',
    950: '#000000',
  },
}
SCSS
$custom: #a847e5;
$custom-light: #c782ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a847e5",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 276.835,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.23163,
    "h": 309.1
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#A847E5
secondary
#BDE3A5
accent
#F2367E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A847E5

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

Preview Lab → · Contrast checker → · Palette generator →

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