#A45EC1#A45EC1

#A45EC1 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.1% C 0.160 H 315.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A45EC1
RGBrgb(164, 94, 193)
HSLhsl(282, 44%, 56%)
HSVhsv(282, 51%, 76%)
CMYKcmyk(15%, 51.3%, 0%, 24.3%)
CIE-LABlab(51.55, 45.19, -40.59)
CIE-LCHlch(51.55, 60.74, 318.07°)
OKLaboklab(60.12% 0.1137 -0.113)
OKLCHoklch(60.12% 0.16 315.2)
XYZxyz(28.9367, 19.7490, 52.7294)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EC1 #7BC15E
analogous
#735EC1 #A45EC1 #C15EAD
triadic
#A45EC1 #C1A45E #5EC1A4
tetradic
#A45EC1 #C1735E #7BC15E #5EADC1
square
#A45EC1 #C1735E #7BC15E #5EADC1
split-complementary
#A45EC1 #ADC15E #5EC173
monochromatic
#612E77 #863FA3 #A45EC1 #BD8AD2 #D6B6E3

Accessibility & contrast

On white

4.24
#A45EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A45EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EC1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EC1#FFFFFF#000000##000000
##A45EC11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#A26D87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45ec1;
/* rgb */ color: rgb(164, 94, 193);
/* oklch */ color: oklch(60.1% 0.160 315.2);
Tailwind
colors: {
  custom: {
    50: '#c18ed4',
    500: '#a45ec1',
    950: '#000000',
  },
}
SCSS
$custom: #a45ec1;
$custom-light: #c18ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ec1",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 282.424,
    "s": 44.395,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60119,
    "c": 0.16034,
    "h": 315.2
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#A45EC1
secondary
#B5D2A9
accent
#D45479
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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