#A845D5#A845D5

#A845D5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.219 H 313.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A845D5
RGBrgb(168, 69, 213)
HSLhsl(281, 63%, 55%)
HSVhsv(281, 68%, 84%)
CMYKcmyk(21.1%, 67.6%, 0%, 16.5%)
CIE-LABlab(48.74, 62.44, -56.52)
CIE-LCHlch(48.74, 84.22, 317.85°)
OKLaboklab(58.55% 0.1499 -0.1593)
OKLCHoklch(58.55% 0.219 313.3)
XYZxyz(30.2847, 17.3861, 64.6984)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845D5 #72D545
analogous
#6045D5 #A845D5 #D545BA
triadic
#A845D5 #D5A845 #45D5A8
tetradic
#A845D5 #D56045 #72D545 #45BAD5
square
#A845D5 #D56045 #72D545 #45BAD5
split-complementary
#A845D5 #BAD545 #45D560
monochromatic
#631D82 #8929B4 #A845D5 #BF77E0 #D7A9EC

Accessibility & contrast

On white

4.69
#A845D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A845D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845D5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845D5#FFFFFF#000000##FFFFFF
##A845D51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#A36288
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a845d5;
/* rgb */ color: rgb(168, 69, 213);
/* oklch */ color: oklch(58.5% 0.219 313.3);
Tailwind
colors: {
  custom: {
    50: '#c680e3',
    500: '#a845d5',
    950: '#000000',
  },
}
SCSS
$custom: #a845d5;
$custom-light: #c680e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a845d5",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 281.25,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.21872,
    "h": 313.3
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#A845D5
secondary
#B0D99D
accent
#E64275
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A845D5

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

Preview Lab → · Contrast checker → · Palette generator →

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