#A845D9#A845D9

#A845D9 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.223 H 312.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A845D9
RGBrgb(168, 69, 217)
HSLhsl(280, 66%, 56%)
HSVhsv(280, 68%, 85%)
CMYKcmyk(22.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(49.00, 63.27, -58.39)
CIE-LCHlch(49.00, 86.09, 317.30°)
OKLaboklab(58.81% 0.1495 -0.1648)
OKLCHoklch(58.81% 0.223 312.2)
XYZxyz(30.7987, 17.5917, 67.4053)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845D9 #76D945
analogous
#5E45D9 #A845D9 #D945C0
triadic
#A845D9 #D9A845 #45D9A8
tetradic
#A845D9 #D95E45 #76D945 #45C0D9
square
#A845D9 #D95E45 #76D945 #45C0D9
split-complementary
#A845D9 #C0D945 #45D95E
monochromatic
#641C88 #8926BB #A845D9 #C078E3 #D8ABEE

Accessibility & contrast

On white

4.65
#A845D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A845D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A845D9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845D9#FFFFFF#000000##FFFFFF
##A845D91.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#A2648A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a845d9;
/* rgb */ color: rgb(168, 69, 217);
/* oklch */ color: oklch(58.8% 0.223 312.2);
Tailwind
colors: {
  custom: {
    50: '#c680e5',
    500: '#a845d9',
    950: '#000000',
  },
}
SCSS
$custom: #a845d9;
$custom-light: #c680e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a845d9",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 280.135,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.22253,
    "h": 312.2
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#A845D9
secondary
#B3DB9E
accent
#E93F77
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A845D9

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

Preview Lab → · Contrast checker → · Palette generator →

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