#A846E5#A846E5

#A846E5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.233 H 309.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A846E5
RGBrgb(168, 70, 229)
HSLhsl(277, 75%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(26.6%, 69.4%, 0%, 10.2%)
CIE-LABlab(49.93, 65.37, -63.69)
CIE-LCHlch(49.93, 91.27, 315.74°)
OKLaboklab(59.73% 0.1472 -0.1804)
OKLCHoklch(59.73% 0.233 309.2)
XYZxyz(32.4786, 18.3629, 75.9470)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A846E5 #83E546
analogous
#5846E5 #A846E5 #E546D2
triadic
#A846E5 #E5A846 #46E5A8
tetradic
#A846E5 #E55846 #83E546 #46D2E5
square
#A846E5 #E55846 #83E546 #46D2E5
split-complementary
#A846E5 #D2E546 #46E558
monochromatic
#68169B #8C1DD0 #A846E5 #C17CED #DAB1F4

Accessibility & contrast

On white

4.49
#A846E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A846E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A846E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A846E5#FFFFFF#000000##000000
##A846E51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a846e5;
/* rgb */ color: rgb(168, 70, 229);
/* oklch */ color: oklch(59.7% 0.233 309.2);
Tailwind
colors: {
  custom: {
    50: '#c781ee',
    500: '#a846e5',
    950: '#000000',
  },
}
SCSS
$custom: #a846e5;
$custom-light: #c781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a846e5",
  "rgb": {
    "r": 168,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 276.981,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.23282,
    "h": 309.2
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A846E5

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

Preview Lab → · Contrast checker → · Palette generator →

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