#A745BC#A745BC

#A745BC is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.195 H 320.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A745BC
RGBrgb(167, 69, 188)
HSLhsl(289, 47%, 50%)
HSVhsv(289, 63%, 74%)
CMYKcmyk(11.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(47.11, 57.23, -44.71)
CIE-LCHlch(47.11, 72.62, 322.00°)
OKLaboklab(56.87% 0.1495 -0.1248)
OKLCHoklch(56.87% 0.195 320.2)
XYZxyz(27.1405, 16.1038, 49.2460)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745BC #5ABC45
analogous
#6B45BC #A745BC #BC4595
triadic
#A745BC #BCA745 #45BCA7
tetradic
#A745BC #BC6B45 #5ABC45 #4595BC
square
#A745BC #BC6B45 #5ABC45 #4595BC
split-complementary
#A745BC #95BC45 #45BC6B
monochromatic
#582463 #803490 #A745BC #BC72CC #D29FDC

Accessibility & contrast

On white

4.98
#A745BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A745BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745BC#FFFFFF#000000##FFFFFF
##A745BC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#A8597A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a745bc;
/* rgb */ color: rgb(167, 69, 188);
/* oklch */ color: oklch(56.9% 0.195 320.2);
Tailwind
colors: {
  custom: {
    50: '#c47fd1',
    500: '#a745bc',
    950: '#000000',
  },
}
SCSS
$custom: #a745bc;
$custom-light: #c47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a745bc",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 289.412,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.19476,
    "h": 320.2
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A745BC

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

Preview Lab → · Contrast checker → · Palette generator →

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