#A745D2#A745D2

#A745D2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.216 H 313.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A745D2
RGBrgb(167, 69, 210)
HSLhsl(282, 61%, 55%)
HSVhsv(282, 67%, 82%)
CMYKcmyk(20.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(48.42, 61.61, -55.33)
CIE-LCHlch(48.42, 82.81, 318.08°)
OKLaboklab(58.23% 0.1489 -0.1558)
OKLCHoklch(58.23% 0.216 313.7)
XYZxyz(29.6953, 17.1258, 62.7016)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745D2 #70D245
analogous
#6145D2 #A745D2 #D245B7
triadic
#A745D2 #D2A745 #45D2A7
tetradic
#A745D2 #D26145 #70D245 #45B7D2
square
#A745D2 #D26145 #70D245 #45B7D2
split-complementary
#A745D2 #B7D245 #45D261
monochromatic
#611F7E #872AAF #A745D2 #BE76DE #D6A8EA

Accessibility & contrast

On white

4.75
#A745D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A745D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745D2#FFFFFF#000000##FFFFFF
##A745D21.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3D75CF
Tritanopia (blue-blind)
#A36186
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a745d2;
/* rgb */ color: rgb(167, 69, 210);
/* oklch */ color: oklch(58.2% 0.216 313.7);
Tailwind
colors: {
  custom: {
    50: '#c580e0',
    500: '#a745d2',
    950: '#000000',
  },
}
SCSS
$custom: #a745d2;
$custom-light: #c580e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a745d2",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 281.702,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.21552,
    "h": 313.7
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#A745D2
secondary
#AED79C
accent
#E44475
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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