#A845CD#A845CD

#A845CD is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.211 H 315.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A845CD
RGBrgb(168, 69, 205)
HSLhsl(284, 58%, 54%)
HSVhsv(284, 66%, 80%)
CMYKcmyk(18%, 66.3%, 0%, 19.6%)
CIE-LABlab(48.25, 60.81, -52.72)
CIE-LCHlch(48.25, 80.49, 319.08°)
OKLaboklab(58.04% 0.1504 -0.1482)
OKLCHoklch(58.04% 0.211 315.4)
XYZxyz(29.2943, 16.9899, 59.4820)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845CD #6ACD45
analogous
#6445CD #A845CD #CD45AE
triadic
#A845CD #CDA845 #45CDA8
tetradic
#A845CD #CD6445 #6ACD45 #45AECD
square
#A845CD #CD6445 #6ACD45 #45AECD
split-complementary
#A845CD #AECD45 #45CD64
monochromatic
#602077 #862DA8 #A845CD #BF75DA #D5A5E7

Accessibility & contrast

On white

4.78
#A845CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A845CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845CD#FFFFFF#000000##FFFFFF
##A845CD1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#A55F83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a845cd;
/* rgb */ color: rgb(168, 69, 205);
/* oklch */ color: oklch(58.0% 0.211 315.4);
Tailwind
colors: {
  custom: {
    50: '#c680dd',
    500: '#a845cd',
    950: '#000000',
  },
}
SCSS
$custom: #a845cd;
$custom-light: #c680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a845cd",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 283.676,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.21113,
    "h": 315.4
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#A845CD
secondary
#AAD49A
accent
#E14771
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845CD

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

Preview Lab → · Contrast checker → · Palette generator →

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