#A845D2#A845D2

#A845D2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.216 H 314.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A845D2
RGBrgb(168, 69, 210)
HSLhsl(282, 61%, 55%)
HSVhsv(282, 67%, 82%)
CMYKcmyk(20%, 67.1%, 0%, 17.6%)
CIE-LABlab(48.55, 61.83, -55.10)
CIE-LCHlch(48.55, 82.82, 318.29°)
OKLaboklab(58.35% 0.1501 -0.1551)
OKLCHoklch(58.35% 0.216 314.1)
XYZxyz(29.9075, 17.2352, 62.7116)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845D2 #6FD245
analogous
#6245D2 #A845D2 #D245B5
triadic
#A845D2 #D2A845 #45D2A8
tetradic
#A845D2 #D26245 #6FD245 #45B5D2
square
#A845D2 #D26245 #6FD245 #45B5D2
split-complementary
#A845D2 #B5D245 #45D262
monochromatic
#621F7E #882AAF #A845D2 #BF76DE #D6A8EA

Accessibility & contrast

On white

4.72
#A845D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A845D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845D2#FFFFFF#000000##FFFFFF
##A845D21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a845d2;
/* rgb */ color: rgb(168, 69, 210);
/* oklch */ color: oklch(58.4% 0.216 314.1);
Tailwind
colors: {
  custom: {
    50: '#c680e0',
    500: '#a845d2',
    950: '#000000',
  },
}
SCSS
$custom: #a845d2;
$custom-light: #c680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a845d2",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 282.128,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.21587,
    "h": 314.1
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#A845D2
secondary
#ADD79C
accent
#E44473
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845D2

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

Preview Lab → · Contrast checker → · Palette generator →

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