#A845C8#A845C8

#A845C8 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.7% C 0.206 H 316.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A845C8
RGBrgb(168, 69, 200)
HSLhsl(285, 54%, 53%)
HSVhsv(285, 66%, 78%)
CMYKcmyk(16%, 65.5%, 0%, 21.6%)
CIE-LABlab(47.95, 59.81, -50.33)
CIE-LCHlch(47.95, 78.17, 319.92°)
OKLaboklab(57.72% 0.1506 -0.1411)
OKLCHoklch(57.72% 0.206 316.9)
XYZxyz(28.7004, 16.7523, 56.3541)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845C8 #65C845
analogous
#6745C8 #A845C8 #C845A6
triadic
#A845C8 #C8A845 #45C8A8
tetradic
#A845C8 #C86745 #65C845 #45A6C8
square
#A845C8 #C86745 #65C845 #45A6C8
split-complementary
#A845C8 #A6C845 #45C867
monochromatic
#5E2171 #852FA0 #A845C8 #BE74D6 #D4A3E4

Accessibility & contrast

On white

4.83
#A845C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A845C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845C8#FFFFFF#000000##FFFFFF
##A845C81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#A65D81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a845c8;
/* rgb */ color: rgb(168, 69, 200);
/* oklch */ color: oklch(57.7% 0.206 316.9);
Tailwind
colors: {
  custom: {
    50: '#c580d9',
    500: '#a845c8',
    950: '#000000',
  },
}
SCSS
$custom: #a845c8;
$custom-light: #c580d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a845c8",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 285.344,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.20642,
    "h": 316.9
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#A845C8
secondary
#A6D198
accent
#DE4A6E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845C8

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

Preview Lab → · Contrast checker → · Palette generator →

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