#A745CD#A745CD

#A745CD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.211 H 315.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A745CD
RGBrgb(167, 69, 205)
HSLhsl(283, 58%, 54%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(18.5%, 66.3%, 0%, 19.6%)
CIE-LABlab(48.11, 60.59, -52.95)
CIE-LCHlch(48.11, 80.47, 318.85°)
OKLaboklab(57.91% 0.1492 -0.1489)
OKLCHoklch(57.91% 0.211 315.1)
XYZxyz(29.0821, 16.8805, 59.4721)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745CD #6BCD45
analogous
#6345CD #A745CD #CD45AF
triadic
#A745CD #CDA745 #45CDA7
tetradic
#A745CD #CD6345 #6BCD45 #45AFCD
square
#A745CD #CD6345 #6BCD45 #45AFCD
split-complementary
#A745CD #AFCD45 #45CD63
monochromatic
#5F2077 #852DA8 #A745CD #BE75DA #D5A5E7

Accessibility & contrast

On white

4.80
#A745CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A745CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745CD#FFFFFF#000000##FFFFFF
##A745CD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#A45F83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a745cd;
/* rgb */ color: rgb(167, 69, 205);
/* oklch */ color: oklch(57.9% 0.211 315.1);
Tailwind
colors: {
  custom: {
    50: '#c580dd',
    500: '#a745cd',
    950: '#000000',
  },
}
SCSS
$custom: #a745cd;
$custom-light: #c580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a745cd",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 283.235,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.21075,
    "h": 315.1
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#A745CD
secondary
#AAD49A
accent
#E14772
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A745CD

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

Preview Lab → · Contrast checker → · Palette generator →

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