#A846E4#A846E4

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

Color values

HEX#A846E4
RGBrgb(168, 70, 228)
HSLhsl(277, 75%, 58%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(26.3%, 69.3%, 0%, 10.6%)
CIE-LABlab(49.87, 65.15, -63.23)
CIE-LCHlch(49.87, 90.79, 315.86°)
OKLaboklab(59.66% 0.1474 -0.179)
OKLCHoklch(59.66% 0.232 309.5)
XYZxyz(32.3394, 18.3072, 75.2138)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A846E4 #82E446
analogous
#5946E4 #A846E4 #E446D1
triadic
#A846E4 #E4A846 #46E4A8
tetradic
#A846E4 #E45946 #82E446 #46D1E4
square
#A846E4 #E45946 #82E446 #46D1E4
split-complementary
#A846E4 #D1E446 #46E459
monochromatic
#681699 #8C1ECF #A846E4 #C17BEC #DAB1F4

Accessibility & contrast

On white

4.51
#A846E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A846E4#FFFFFF#000000##000000
##A846E41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a846e4;
/* rgb */ color: rgb(168, 70, 228);
/* oklch */ color: oklch(59.7% 0.232 309.5);
Tailwind
colors: {
  custom: {
    50: '#c781ed',
    500: '#a846e4',
    950: '#000000',
  },
}
SCSS
$custom: #a846e4;
$custom-light: #c781ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a846e4",
  "rgb": {
    "r": 168,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 277.215,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.23185,
    "h": 309.5
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#A846E4
secondary
#BBE2A4
accent
#F1377D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A846E4

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

Preview Lab → · Contrast checker → · Palette generator →

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