#A745BF#A745BF

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

Color values

HEX#A745BF
RGBrgb(167, 69, 191)
HSLhsl(288, 49%, 51%)
HSVhsv(288, 64%, 75%)
CMYKcmyk(12.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.28, 57.81, -46.18)
CIE-LCHlch(47.28, 73.99, 321.38°)
OKLaboklab(57.04% 0.1496 -0.1291)
OKLCHoklch(57.04% 0.198 319.2)
XYZxyz(27.4672, 16.2346, 50.9669)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745BF #5DBF45
analogous
#6A45BF #A745BF #BF459A
triadic
#A745BF #BFA745 #45BFA7
tetradic
#A745BF #BF6A45 #5DBF45 #459ABF
square
#A745BF #BF6A45 #5DBF45 #459ABF
split-complementary
#A745BF #9ABF45 #45BF6A
monochromatic
#592366 #813394 #A745BF #BD73CF #D2A0DE

Accessibility & contrast

On white

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

On black

4.25
#A745BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A745BF#FFFFFF#000000##FFFFFF
##A745BF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206AC3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#A75A7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a745bf;
/* rgb */ color: rgb(167, 69, 191);
/* oklch */ color: oklch(57.0% 0.198 319.2);
Tailwind
colors: {
  custom: {
    50: '#c47fd3',
    500: '#a745bf',
    950: '#000000',
  },
}
SCSS
$custom: #a745bf;
$custom-light: #c47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a745bf",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 288.197,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.19756,
    "h": 319.2
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#A745BF
secondary
#A0CB95
accent
#D84F6A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A745BF

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

Preview Lab → · Contrast checker → · Palette generator →

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