#A45EB2#A45EB2

#A45EB2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.3% C 0.144 H 320.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A45EB2
RGBrgb(164, 94, 178)
HSLhsl(290, 35%, 53%)
HSVhsv(290, 47%, 70%)
CMYKcmyk(7.9%, 47.2%, 0%, 30.2%)
CIE-LABlab(50.82, 42.07, -33.06)
CIE-LCHlch(50.82, 53.51, 321.84°)
OKLaboklab(59.34% 0.1117 -0.0912)
OKLCHoklch(59.34% 0.144 320.8)
XYZxyz(27.3475, 19.1133, 44.3595)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EB2 #6CB25E
analogous
#7A5EB2 #A45EB2 #B25E96
triadic
#A45EB2 #B2A45E #5EB2A4
tetradic
#A45EB2 #B27A5E #6CB25E #5E96B2
square
#A45EB2 #B27A5E #6CB25E #5E96B2
split-complementary
#A45EB2 #96B25E #5EB27A
monochromatic
#5C3065 #82448F #A45EB2 #BB87C6 #D3B1DA

Accessibility & contrast

On white

4.35
#A45EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A45EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EB2#FFFFFF#000000##000000
##A45EB21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#A56980
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45eb2;
/* rgb */ color: rgb(164, 94, 178);
/* oklch */ color: oklch(59.3% 0.144 320.8);
Tailwind
colors: {
  custom: {
    50: '#c18ec9',
    500: '#a45eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a45eb2;
$custom-light: #c18ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45eb2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 290,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.14424,
    "h": 320.8
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#A45EB2
secondary
#AAC8A4
accent
#CB5C6F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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