#A745D3#A745D3

#A745D3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.216 H 313.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A745D3
RGBrgb(167, 69, 211)
HSLhsl(281, 62%, 55%)
HSVhsv(281, 67%, 83%)
CMYKcmyk(20.9%, 67.3%, 0%, 17.3%)
CIE-LABlab(48.48, 61.82, -55.80)
CIE-LCHlch(48.48, 83.28, 317.93°)
OKLaboklab(58.29% 0.1488 -0.1572)
OKLCHoklch(58.29% 0.216 313.4)
XYZxyz(29.8203, 17.1758, 63.3598)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745D3 #71D345
analogous
#6045D3 #A745D3 #D345B8
triadic
#A745D3 #D3A745 #45D3A7
tetradic
#A745D3 #D36045 #71D345 #45B8D3
square
#A745D3 #D36045 #71D345 #45B8D3
split-complementary
#A745D3 #B8D345 #45D360
monochromatic
#611E7F #872AB1 #A745D3 #BE76DF #D6A8EA

Accessibility & contrast

On white

4.74
#A745D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A745D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745D3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745D3#FFFFFF#000000##FFFFFF
##A745D31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3C75D0
Tritanopia (blue-blind)
#A36287
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a745d3;
/* rgb */ color: rgb(167, 69, 211);
/* oklch */ color: oklch(58.3% 0.216 313.4);
Tailwind
colors: {
  custom: {
    50: '#c580e1',
    500: '#a745d3',
    950: '#000000',
  },
}
SCSS
$custom: #a745d3;
$custom-light: #c580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a745d3",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 281.408,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.21646,
    "h": 313.4
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#A745D3
secondary
#AFD89C
accent
#E54375
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A745D3

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

Preview Lab → · Contrast checker → · Palette generator →

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