#A846DB#A846DB

#A846DB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.223 H 311.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A846DB
RGBrgb(168, 70, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(23.3%, 68%, 0%, 14.1%)
CIE-LABlab(49.28, 63.26, -59.08)
CIE-LCHlch(49.28, 86.55, 316.96°)
OKLaboklab(59.05% 0.1483 -0.1668)
OKLCHoklch(59.05% 0.223 311.6)
XYZxyz(31.1224, 17.8204, 68.8043)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A846DB #79DB46
analogous
#5E46DB #A846DB #DB46C4
triadic
#A846DB #DBA846 #46DBA8
tetradic
#A846DB #DB5E46 #79DB46 #46C4DB
square
#A846DB #DB5E46 #79DB46 #46C4DB
split-complementary
#A846DB #C4DB46 #46DB5E
monochromatic
#651B8B #8A25BF #A846DB #C079E5 #D8ACEF

Accessibility & contrast

On white

4.60
#A846DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A846DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A846DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A846DB#FFFFFF#000000##FFFFFF
##A846DB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#A2658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a846db;
/* rgb */ color: rgb(168, 70, 219);
/* oklch */ color: oklch(59.1% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#c681e7',
    500: '#a846db',
    950: '#000000',
  },
}
SCSS
$custom: #a846db;
$custom-light: #c681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a846db",
  "rgb": {
    "r": 168,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 279.463,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.22321,
    "h": 311.6
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#A846DB
secondary
#B5DDA0
accent
#EA3D79
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A846DB

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

Preview Lab → · Contrast checker → · Palette generator →

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