#A846E7#A846E7

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

Color values

HEX#A846E7
RGBrgb(168, 70, 231)
HSLhsl(277, 77%, 59%)
HSVhsv(277, 70%, 91%)
CMYKcmyk(27.3%, 69.7%, 0%, 9.4%)
CIE-LABlab(50.07, 65.79, -64.60)
CIE-LCHlch(50.07, 92.21, 315.52°)
OKLaboklab(59.87% 0.147 -0.183)
OKLCHoklch(59.87% 0.235 308.8)
XYZxyz(32.7595, 18.4752, 77.4261)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A846E7 #85E746
analogous
#5846E7 #A846E7 #E746D5
triadic
#A846E7 #E7A846 #46E7A8
tetradic
#A846E7 #E75846 #85E746 #46D5E7
square
#A846E7 #E75846 #85E746 #46D5E7
split-complementary
#A846E7 #D5E746 #46E758
monochromatic
#68159E #8C1CD4 #A846E7 #C17CEE #DBB2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A846E7#FFFFFF#000000##000000
##A846E71.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)
#0073EC
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#9E6A92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a846e7;
/* rgb */ color: rgb(168, 70, 231);
/* oklch */ color: oklch(59.9% 0.235 308.8);
Tailwind
colors: {
  custom: {
    50: '#c781ef',
    500: '#a846e7',
    950: '#000000',
  },
}
SCSS
$custom: #a846e7;
$custom-light: #c781ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a846e7",
  "rgb": {
    "r": 168,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 276.522,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.23474,
    "h": 308.8
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

primary
#A846E7
secondary
#BEE4A5
accent
#F4347F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A846E7

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

Preview Lab → · Contrast checker → · Palette generator →

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