#A846E1#A846E1

#A846E1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.229 H 310.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A846E1
RGBrgb(168, 70, 225)
HSLhsl(278, 72%, 58%)
HSVhsv(278, 69%, 88%)
CMYKcmyk(25.3%, 68.9%, 0%, 11.8%)
CIE-LABlab(49.67, 64.52, -61.86)
CIE-LCHlch(49.67, 89.38, 316.21°)
OKLaboklab(59.46% 0.1477 -0.175)
OKLCHoklch(59.46% 0.229 310.2)
XYZxyz(31.9266, 18.1421, 73.0395)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A846E1 #7FE146
analogous
#5A46E1 #A846E1 #E146CD
triadic
#A846E1 #E1A846 #46E1A8
tetradic
#A846E1 #E15A46 #7FE146 #46CDE1
square
#A846E1 #E15A46 #7FE146 #46CDE1
split-complementary
#A846E1 #CDE146 #46E15A
monochromatic
#671895 #8B21C9 #A846E1 #C17BEA #DAAFF2

Accessibility & contrast

On white

4.54
#A846E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A846E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A846E1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A846E1#FFFFFF#000000##000000
##A846E11.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#A0688F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a846e1;
/* rgb */ color: rgb(168, 70, 225);
/* oklch */ color: oklch(59.5% 0.229 310.2);
Tailwind
colors: {
  custom: {
    50: '#c681eb',
    500: '#a846e1',
    950: '#000000',
  },
}
SCSS
$custom: #a846e1;
$custom-light: #c681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a846e1",
  "rgb": {
    "r": 168,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 277.935,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.22898,
    "h": 310.2
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#A846E1
secondary
#B9E0A2
accent
#EF397C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A846E1

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

Preview Lab → · Contrast checker → · Palette generator →

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