#A845BC#A845BC

#A845BC is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.195 H 320.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A845BC
RGBrgb(168, 69, 188)
HSLhsl(290, 47%, 50%)
HSVhsv(290, 63%, 74%)
CMYKcmyk(10.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(47.25, 57.47, -44.47)
CIE-LCHlch(47.25, 72.67, 322.26°)
OKLaboklab(57% 0.1507 -0.1241)
OKLCHoklch(57% 0.195 320.5)
XYZxyz(27.3526, 16.2132, 49.2559)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845BC #59BC45
analogous
#6C45BC #A845BC #BC4594
triadic
#A845BC #BCA845 #45BCA8
tetradic
#A845BC #BC6C45 #59BC45 #4594BC
square
#A845BC #BC6C45 #59BC45 #4594BC
split-complementary
#A845BC #94BC45 #45BC6C
monochromatic
#582463 #803490 #A845BC #BD72CC #D29FDC

Accessibility & contrast

On white

4.95
#A845BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A845BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845BC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845BC#FFFFFF#000000##FFFFFF
##A845BC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669C0
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#A9597A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a845bc;
/* rgb */ color: rgb(168, 69, 188);
/* oklch */ color: oklch(57.0% 0.195 320.5);
Tailwind
colors: {
  custom: {
    50: '#c57fd1',
    500: '#a845bc',
    950: '#000000',
  },
}
SCSS
$custom: #a845bc;
$custom-light: #c57fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a845bc",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 289.916,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.19523,
    "h": 320.5
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#A845BC
secondary
#9DC994
accent
#D75168
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A845BC

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

Preview Lab → · Contrast checker → · Palette generator →

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