#A845BF#A845BF

#A845BF is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.198 H 319.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A845BF
RGBrgb(168, 69, 191)
HSLhsl(289, 49%, 51%)
HSVhsv(289, 64%, 75%)
CMYKcmyk(12%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.42, 58.05, -45.95)
CIE-LCHlch(47.42, 74.03, 321.63°)
OKLaboklab(57.18% 0.1508 -0.1284)
OKLCHoklch(57.18% 0.198 319.6)
XYZxyz(27.6794, 16.3439, 50.9768)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845BF #5CBF45
analogous
#6B45BF #A845BF #BF4599
triadic
#A845BF #BFA845 #45BFA8
tetradic
#A845BF #BF6B45 #5CBF45 #4599BF
square
#A845BF #BF6B45 #5CBF45 #4599BF
split-complementary
#A845BF #99BF45 #45BF6B
monochromatic
#5A2366 #823394 #A845BF #BD73CF #D3A0DE

Accessibility & contrast

On white

4.92
#A845BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A845BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845BF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845BF#FFFFFF#000000##FFFFFF
##A845BF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#A85A7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a845bf;
/* rgb */ color: rgb(168, 69, 191);
/* oklch */ color: oklch(57.2% 0.198 319.6);
Tailwind
colors: {
  custom: {
    50: '#c57fd3',
    500: '#a845bf',
    950: '#000000',
  },
}
SCSS
$custom: #a845bf;
$custom-light: #c57fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a845bf",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 288.689,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.198,
    "h": 319.6
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#A845BF
secondary
#9FCB95
accent
#D84F69
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A845BF

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

Preview Lab → · Contrast checker → · Palette generator →

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