#A745AB#A745AB

#A745AB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.179 H 326.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A745AB
RGBrgb(167, 69, 171)
HSLhsl(298, 43%, 47%)
HSVhsv(298, 60%, 67%)
CMYKcmyk(2.3%, 59.6%, 0%, 32.9%)
CIE-LABlab(46.20, 54.04, -36.19)
CIE-LCHlch(46.20, 65.04, 326.19°)
OKLaboklab(55.91% 0.1488 -0.1)
OKLCHoklch(55.91% 0.179 326.1)
XYZxyz(25.4146, 15.4135, 40.1566)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745AB #49AB45
analogous
#7445AB #A745AB #AB457C
triadic
#A745AB #ABA745 #45ABA7
tetradic
#A745AB #AB7445 #49AB45 #457CAB
square
#A745AB #AB7445 #49AB45 #457CAB
split-complementary
#A745AB #7CAB45 #45AB74
monochromatic
#522254 #7C337F #A745AB #BF6AC3 #D296D5

Accessibility & contrast

On white

5.14
#A745AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A745AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745AB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745AB#FFFFFF#000000##FFFFFF
##A745AB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#AB5272
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a745ab;
/* rgb */ color: rgb(167, 69, 171);
/* oklch */ color: oklch(55.9% 0.179 326.1);
Tailwind
colors: {
  custom: {
    50: '#c47fc4',
    500: '#a745ab',
    950: '#000000',
  },
}
SCSS
$custom: #a745ab;
$custom-light: #c47fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a745ab",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 297.647,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.17927,
    "h": 326.1
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#A745AB
secondary
#8DC08B
accent
#D2565A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A745AB

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

Preview Lab → · Contrast checker → · Palette generator →

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