#A745C2#A745C2

#A745C2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.2% C 0.200 H 318.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A745C2
RGBrgb(167, 69, 194)
HSLhsl(287, 51%, 52%)
HSVhsv(287, 64%, 76%)
CMYKcmyk(13.9%, 64.4%, 0%, 23.9%)
CIE-LABlab(47.45, 58.39, -47.65)
CIE-LCHlch(47.45, 75.37, 320.79°)
OKLaboklab(57.22% 0.1495 -0.1333)
OKLCHoklch(57.22% 0.2 318.3)
XYZxyz(27.8007, 16.3680, 52.7234)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745C2 #60C245
analogous
#6945C2 #A745C2 #C2459F
triadic
#A745C2 #C2A745 #45C2A7
tetradic
#A745C2 #C26945 #60C245 #459FC2
square
#A745C2 #C26945 #60C245 #459FC2
split-complementary
#A745C2 #9FC245 #45C269
monochromatic
#5B236A #823298 #A745C2 #BD73D1 #D3A1E0

Accessibility & contrast

On white

4.91
#A745C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A745C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745C2#FFFFFF#000000##FFFFFF
##A745C21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A75B7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a745c2;
/* rgb */ color: rgb(167, 69, 194);
/* oklch */ color: oklch(57.2% 0.200 318.3);
Tailwind
colors: {
  custom: {
    50: '#c47fd5',
    500: '#a745c2',
    950: '#000000',
  },
}
SCSS
$custom: #a745c2;
$custom-light: #c47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a745c2",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 287.04,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.20037,
    "h": 318.3
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#A745C2
secondary
#A2CD96
accent
#DA4E6C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A745C2

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

Preview Lab → · Contrast checker → · Palette generator →

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