#A845D1#A845D1

#A845D1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.215 H 314.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A845D1
RGBrgb(168, 69, 209)
HSLhsl(282, 60%, 55%)
HSVhsv(282, 67%, 82%)
CMYKcmyk(19.6%, 67%, 0%, 18%)
CIE-LABlab(48.49, 61.62, -54.63)
CIE-LCHlch(48.49, 82.35, 318.44°)
OKLaboklab(58.29% 0.1502 -0.1537)
OKLCHoklch(58.29% 0.215 314.3)
XYZxyz(29.7833, 17.1855, 62.0575)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845D1 #6ED145
analogous
#6245D1 #A845D1 #D145B4
triadic
#A845D1 #D1A845 #45D1A8
tetradic
#A845D1 #D16245 #6ED145 #45B4D1
square
#A845D1 #D16245 #6ED145 #45B4D1
split-complementary
#A845D1 #B4D145 #45D162
monochromatic
#611F7D #882BAE #A845D1 #BF76DD #D6A7E9

Accessibility & contrast

On white

4.73
#A845D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A845D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845D1#FFFFFF#000000##FFFFFF
##A845D11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#A46186
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a845d1;
/* rgb */ color: rgb(168, 69, 209);
/* oklch */ color: oklch(58.3% 0.215 314.3);
Tailwind
colors: {
  custom: {
    50: '#c680e0',
    500: '#a845d1',
    950: '#000000',
  },
}
SCSS
$custom: #a845d1;
$custom-light: #c680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a845d1",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 282.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.21492,
    "h": 314.3
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#A845D1
secondary
#ADD79B
accent
#E34473
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845D1

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

Preview Lab → · Contrast checker → · Palette generator →

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