#A45EA2#A45EA2

#A45EA2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.6% C 0.128 H 328.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A45EA2
RGBrgb(164, 94, 162)
HSLhsl(302, 28%, 51%)
HSVhsv(302, 43%, 64%)
CMYKcmyk(0%, 42.7%, 1.2%, 35.7%)
CIE-LABlab(50.11, 38.94, -24.81)
CIE-LCHlch(50.11, 46.17, 327.49°)
OKLaboklab(58.57% 0.1086 -0.0677)
OKLCHoklch(58.57% 0.128 328.1)
XYZxyz(25.8337, 18.5078, 36.3870)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EA2 #5EA460
analogous
#835EA4 #A45EA2 #A45E7F
triadic
#A45EA2 #A2A45E #5EA2A4
tetradic
#A45EA2 #A4835E #5EA460 #5E7FA4
square
#A45EA2 #A4835E #5EA460 #5E7FA4
split-complementary
#A45EA2 #7FA45E #5EA483
monochromatic
#573156 #7E477C #A45EA2 #BA85B9 #D0ACCF

Accessibility & contrast

On white

4.47
#A45EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A45EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EA2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EA2#FFFFFF#000000##000000
##A45EA21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#6C7BA0
Tritanopia (blue-blind)
#A86478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a45ea2;
/* rgb */ color: rgb(164, 94, 162);
/* oklch */ color: oklch(58.6% 0.128 328.1);
Tailwind
colors: {
  custom: {
    50: '#c08ebd',
    500: '#a45ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ea2;
$custom-light: #c08ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ea2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 301.714,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.12798,
    "h": 328.1
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#A45EA2
secondary
#9FBEA0
accent
#C46664
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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