#A745B2#A745B2

#A745B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.186 H 323.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A745B2
RGBrgb(167, 69, 178)
HSLhsl(294, 44%, 48%)
HSVhsv(294, 61%, 70%)
CMYKcmyk(6.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(46.56, 55.33, -39.73)
CIE-LCHlch(46.56, 68.12, 324.32°)
OKLaboklab(56.29% 0.1492 -0.1103)
OKLCHoklch(56.29% 0.186 323.5)
XYZxyz(26.0996, 15.6875, 43.7641)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745B2 #50B245
analogous
#7045B2 #A745B2 #B24586
triadic
#A745B2 #B2A745 #45B2A7
tetradic
#A745B2 #B27045 #50B245 #4586B2
square
#A745B2 #B27045 #50B245 #4586B2
split-complementary
#A745B2 #86B245 #45B270
monochromatic
#54235A #7E3486 #A745B2 #BE6EC7 #D19AD8

Accessibility & contrast

On white

5.08
#A745B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A745B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745B2#FFFFFF#000000##FFFFFF
##A745B21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#AA5575
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a745b2;
/* rgb */ color: rgb(167, 69, 178);
/* oklch */ color: oklch(56.3% 0.186 323.5);
Tailwind
colors: {
  custom: {
    50: '#c47fc9',
    500: '#a745b2',
    950: '#000000',
  },
}
SCSS
$custom: #a745b2;
$custom-light: #c47fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a745b2",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 293.945,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.18557,
    "h": 323.5
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#A745B2
secondary
#94C48F
accent
#D45461
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A745B2

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

Preview Lab → · Contrast checker → · Palette generator →

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