#A45AC8#A45AC8

#A45AC8 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.174 H 313.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A45AC8
RGBrgb(164, 90, 200)
HSLhsl(280, 50%, 57%)
HSVhsv(280, 55%, 78%)
CMYKcmyk(18%, 55%, 0%, 21.6%)
CIE-LABlab(51.12, 48.78, -45.29)
CIE-LCHlch(51.12, 66.57, 317.12°)
OKLaboklab(59.92% 0.1198 -0.1267)
OKLCHoklch(59.92% 0.174 313.4)
XYZxyz(29.3896, 19.3757, 56.8241)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AC8 #7EC85A
analogous
#6D5AC8 #A45AC8 #C85AB5
triadic
#A45AC8 #C8A45A #5AC8A4
tetradic
#A45AC8 #C86D5A #7EC85A #5AB5C8
square
#A45AC8 #C86D5A #7EC85A #5AB5C8
split-complementary
#A45AC8 #B5C85A #5AC86D
monochromatic
#622A7E #8639AC #A45AC8 #BD88D7 #D7B6E7

Accessibility & contrast

On white

4.31
#A45AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A45AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AC8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AC8#FFFFFF#000000##000000
##A45AC81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#A16C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45ac8;
/* rgb */ color: rgb(164, 90, 200);
/* oklch */ color: oklch(59.9% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#c18cd9',
    500: '#a45ac8',
    950: '#000000',
  },
}
SCSS
$custom: #a45ac8;
$custom-light: #c18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ac8",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 280.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.17433,
    "h": 313.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#A45AC8
secondary
#B7D5A8
accent
#DA4E7C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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