#A45AC7#A45AC7

#A45AC7 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.9% C 0.173 H 313.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A45AC7
RGBrgb(164, 90, 199)
HSLhsl(281, 49%, 57%)
HSVhsv(281, 55%, 78%)
CMYKcmyk(17.6%, 54.8%, 0%, 22%)
CIE-LABlab(51.07, 48.56, -44.80)
CIE-LCHlch(51.07, 66.07, 317.31°)
OKLaboklab(59.87% 0.1197 -0.1253)
OKLCHoklch(59.87% 0.173 313.7)
XYZxyz(29.2731, 19.3292, 56.2106)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AC7 #7DC75A
analogous
#6E5AC7 #A45AC7 #C75AB4
triadic
#A45AC7 #C7A45A #5AC7A4
tetradic
#A45AC7 #C76E5A #7DC75A #5AB4C7
square
#A45AC7 #C76E5A #7DC75A #5AB4C7
split-complementary
#A45AC7 #B4C75A #5AC76E
monochromatic
#622A7C #863AAA #A45AC7 #BD88D7 #D6B5E6

Accessibility & contrast

On white

4.32
#A45AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A45AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AC7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AC7#FFFFFF#000000##000000
##A45AC71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#567CC4
Tritanopia (blue-blind)
#A16C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45ac7;
/* rgb */ color: rgb(164, 90, 199);
/* oklch */ color: oklch(59.9% 0.173 313.7);
Tailwind
colors: {
  custom: {
    50: '#c18cd8',
    500: '#a45ac7',
    950: '#000000',
  },
}
SCSS
$custom: #a45ac7;
$custom-light: #c18cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ac7",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 280.734,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.17326,
    "h": 313.7
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#A45AC7
secondary
#B6D5A8
accent
#D94F7B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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