#A45EC7#A45EC7

#A45EC7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.4% C 0.167 H 313.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A45EC7
RGBrgb(164, 94, 199)
HSLhsl(280, 48%, 57%)
HSVhsv(280, 53%, 78%)
CMYKcmyk(17.6%, 52.8%, 0%, 22%)
CIE-LABlab(51.86, 46.48, -43.55)
CIE-LCHlch(51.86, 63.69, 316.86°)
OKLaboklab(60.45% 0.1143 -0.1216)
OKLCHoklch(60.45% 0.167 313.2)
XYZxyz(29.6196, 20.0222, 56.3261)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EC7 #81C75E
analogous
#705EC7 #A45EC7 #C75EB5
triadic
#A45EC7 #C7A45E #5EC7A4
tetradic
#A45EC7 #C7705E #81C75E #5EB5C7
square
#A45EC7 #C7705E #81C75E #5EB5C7
split-complementary
#A45EC7 #B5C75E #5EC770
monochromatic
#632C7F #873CAC #A45EC7 #BE8BD7 #D7B9E7

Accessibility & contrast

On white

4.20
#A45EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A45EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EC7#FFFFFF#000000##000000
##A45EC71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#5A7DC4
Tritanopia (blue-blind)
#A16F8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45ec7;
/* rgb */ color: rgb(164, 94, 199);
/* oklch */ color: oklch(60.4% 0.167 313.2);
Tailwind
colors: {
  custom: {
    50: '#c18ed8',
    500: '#a45ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a45ec7;
$custom-light: #c18ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ec7",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 280,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.16692,
    "h": 313.2
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#A45EC7
secondary
#B9D6AB
accent
#D8507D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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