#A745D5#A745D5

#A745D5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.218 H 312.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A745D5
RGBrgb(167, 69, 213)
HSLhsl(281, 63%, 55%)
HSVhsv(281, 68%, 84%)
CMYKcmyk(21.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(48.61, 62.23, -56.74)
CIE-LCHlch(48.61, 84.21, 317.64°)
OKLaboklab(58.42% 0.1487 -0.16)
OKLCHoklch(58.42% 0.218 312.9)
XYZxyz(30.0726, 17.2767, 64.6885)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745D5 #73D545
analogous
#5F45D5 #A745D5 #D545BB
triadic
#A745D5 #D5A745 #45D5A7
tetradic
#A745D5 #D55F45 #73D545 #45BBD5
square
#A745D5 #D55F45 #73D545 #45BBD5
split-complementary
#A745D5 #BBD545 #45D55F
monochromatic
#621D82 #8829B4 #A745D5 #BF77E0 #D6A9EC

Accessibility & contrast

On white

4.71
#A745D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A745D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745D5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745D5#FFFFFF#000000##FFFFFF
##A745D51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#A26288
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a745d5;
/* rgb */ color: rgb(167, 69, 213);
/* oklch */ color: oklch(58.4% 0.218 312.9);
Tailwind
colors: {
  custom: {
    50: '#c580e3',
    500: '#a745d5',
    950: '#000000',
  },
}
SCSS
$custom: #a745d5;
$custom-light: #c580e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a745d5",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 280.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.21838,
    "h": 312.9
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#A745D5
secondary
#B0D99D
accent
#E64276
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A745D5

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

Preview Lab → · Contrast checker → · Palette generator →

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