#A845BB#A845BB

#A845BB is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.194 H 320.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A845BB
RGBrgb(168, 69, 187)
HSLhsl(290, 46%, 50%)
HSVhsv(290, 63%, 73%)
CMYKcmyk(10.2%, 63.1%, 0%, 26.7%)
CIE-LABlab(47.20, 57.27, -43.98)
CIE-LCHlch(47.20, 72.21, 322.48°)
OKLaboklab(56.94% 0.1507 -0.1226)
OKLCHoklch(56.94% 0.194 320.9)
XYZxyz(27.2452, 16.1703, 48.6901)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845BB #58BB45
analogous
#6D45BB #A845BB #BB4593
triadic
#A845BB #BBA845 #45BBA8
tetradic
#A845BB #BB6D45 #58BB45 #4593BB
square
#A845BB #BB6D45 #58BB45 #4593BB
split-complementary
#A845BB #93BB45 #45BB6D
monochromatic
#582462 #80348F #A845BB #BD72CB #D29FDC

Accessibility & contrast

On white

4.96
#A845BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A845BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845BB#FFFFFF#000000##FFFFFF
##A845BB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#A9587A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a845bb;
/* rgb */ color: rgb(168, 69, 187);
/* oklch */ color: oklch(56.9% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#c57fd0',
    500: '#a845bb',
    950: '#000000',
  },
}
SCSS
$custom: #a845bb;
$custom-light: #c57fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a845bb",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 290.339,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.19431,
    "h": 320.9
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#A845BB
secondary
#9CC894
accent
#D65267
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A845BB

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

Preview Lab → · Contrast checker → · Palette generator →

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