#A847E4#A847E4

#A847E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.8% C 0.231 H 309.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A847E4
RGBrgb(168, 71, 228)
HSLhsl(277, 74%, 59%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(26.3%, 68.9%, 0%, 10.6%)
CIE-LABlab(50.02, 64.73, -62.99)
CIE-LCHlch(50.02, 90.32, 315.78°)
OKLaboklab(59.77% 0.1463 -0.1783)
OKLCHoklch(59.77% 0.231 309.4)
XYZxyz(32.4025, 18.4334, 75.2348)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847E4 #83E447
analogous
#5947E4 #A847E4 #E447D2
triadic
#A847E4 #E4A847 #47E4A8
tetradic
#A847E4 #E45947 #83E447 #47D2E4
square
#A847E4 #E45947 #83E447 #47D2E4
split-complementary
#A847E4 #D2E447 #47E459
monochromatic
#68179A #8C1ECF #A847E4 #C17CEC #DAB2F4

Accessibility & contrast

On white

4.48
#A847E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A847E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A847E4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A847E4#FFFFFF#000000##000000
##A847E41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2878E1
Tritanopia (blue-blind)
#9F6991
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a847e4;
/* rgb */ color: rgb(168, 71, 228);
/* oklch */ color: oklch(59.8% 0.231 309.4);
Tailwind
colors: {
  custom: {
    50: '#c782ed',
    500: '#a847e4',
    950: '#000000',
  },
}
SCSS
$custom: #a847e4;
$custom-light: #c782ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a847e4",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 277.07,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.23066,
    "h": 309.4
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#A847E4
secondary
#BCE2A4
accent
#F1377E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A847E4

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

Preview Lab → · Contrast checker → · Palette generator →

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