#A845CF#A845CF

#A845CF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.213 H 314.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A845CF
RGBrgb(168, 69, 207)
HSLhsl(283, 59%, 54%)
HSVhsv(283, 67%, 81%)
CMYKcmyk(18.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(48.37, 61.22, -53.68)
CIE-LCHlch(48.37, 81.42, 318.75°)
OKLaboklab(58.16% 0.1503 -0.151)
OKLCHoklch(58.16% 0.213 314.9)
XYZxyz(29.5372, 17.0871, 60.7616)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845CF #6CCF45
analogous
#6345CF #A845CF #CF45B1
triadic
#A845CF #CFA845 #45CFA8
tetradic
#A845CF #CF6345 #6CCF45 #45B1CF
square
#A845CF #CF6345 #6CCF45 #45B1CF
split-complementary
#A845CF #B1CF45 #45CF63
monochromatic
#60207A #872CAB #A845CF #BF76DC #D6A6E8

Accessibility & contrast

On white

4.75
#A845CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A845CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845CF#FFFFFF#000000##FFFFFF
##A845CF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#A56084
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a845cf;
/* rgb */ color: rgb(168, 69, 207);
/* oklch */ color: oklch(58.2% 0.213 314.9);
Tailwind
colors: {
  custom: {
    50: '#c680de',
    500: '#a845cf',
    950: '#000000',
  },
}
SCSS
$custom: #a845cf;
$custom-light: #c680de;
$custom-dark: #000000;
JSON
{
  "hex": "#a845cf",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 283.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.21302,
    "h": 314.9
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#A845CF
secondary
#ABD59B
accent
#E24672
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845CF

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

Preview Lab → · Contrast checker → · Palette generator →

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