#A845CA#A845CA

#A845CA is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.208 H 316.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A845CA
RGBrgb(168, 69, 202)
HSLhsl(285, 56%, 53%)
HSVhsv(285, 66%, 79%)
CMYKcmyk(16.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(48.07, 60.21, -51.29)
CIE-LCHlch(48.07, 79.09, 319.58°)
OKLaboklab(57.85% 0.1506 -0.144)
OKLCHoklch(57.85% 0.208 316.3)
XYZxyz(28.9356, 16.8464, 57.5931)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845CA #67CA45
analogous
#6545CA #A845CA #CA45A9
triadic
#A845CA #CAA845 #45CAA8
tetradic
#A845CA #CA6545 #67CA45 #45A9CA
square
#A845CA #CA6545 #67CA45 #45A9CA
split-complementary
#A845CA #A9CA45 #45CA65
monochromatic
#5F2174 #852FA3 #A845CA #BE75D8 #D5A4E5

Accessibility & contrast

On white

4.81
#A845CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A845CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845CA#FFFFFF#000000##FFFFFF
##A845CA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046CCE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#A65E82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a845ca;
/* rgb */ color: rgb(168, 69, 202);
/* oklch */ color: oklch(57.8% 0.208 316.3);
Tailwind
colors: {
  custom: {
    50: '#c580db',
    500: '#a845ca',
    950: '#000000',
  },
}
SCSS
$custom: #a845ca;
$custom-light: #c580db;
$custom-dark: #000000;
JSON
{
  "hex": "#a845ca",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 284.662,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.2083,
    "h": 316.3
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#A845CA
secondary
#A7D299
accent
#DF496F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845CA

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

Preview Lab → · Contrast checker → · Palette generator →

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