#A45EC2#A45EC2

#A45EC2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.161 H 314.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A45EC2
RGBrgb(164, 94, 194)
HSLhsl(282, 45%, 56%)
HSVhsv(282, 52%, 76%)
CMYKcmyk(15.5%, 51.5%, 0%, 23.9%)
CIE-LABlab(51.60, 45.40, -41.08)
CIE-LCHlch(51.60, 61.23, 317.86°)
OKLaboklab(60.17% 0.1139 -0.1145)
OKLCHoklch(60.17% 0.161 314.8)
XYZxyz(29.0486, 19.7938, 53.3188)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EC2 #7CC25E
analogous
#725EC2 #A45EC2 #C25EAE
triadic
#A45EC2 #C2A45E #5EC2A4
tetradic
#A45EC2 #C2725E #7CC25E #5EAEC2
square
#A45EC2 #C2725E #7CC25E #5EAEC2
split-complementary
#A45EC2 #AEC25E #5EC272
monochromatic
#622E78 #863EA4 #A45EC2 #BD8AD3 #D6B7E4

Accessibility & contrast

On white

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

On black

4.96
#A45EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EC2#FFFFFF#000000##000000
##A45EC21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#A26E87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45ec2;
/* rgb */ color: rgb(164, 94, 194);
/* oklch */ color: oklch(60.2% 0.161 314.8);
Tailwind
colors: {
  custom: {
    50: '#c18ed5',
    500: '#a45ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ec2;
$custom-light: #c18ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ec2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 282,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.16144,
    "h": 314.8
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#A45EC2
secondary
#B6D2A9
accent
#D5537A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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