#A45BC7#A45BC7

#A45BC7 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.0% C 0.172 H 313.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A45BC7
RGBrgb(164, 91, 199)
HSLhsl(281, 49%, 57%)
HSVhsv(281, 54%, 78%)
CMYKcmyk(17.6%, 54.3%, 0%, 22%)
CIE-LABlab(51.27, 48.05, -44.49)
CIE-LCHlch(51.27, 65.48, 317.20°)
OKLaboklab(60.01% 0.1184 -0.1244)
OKLCHoklch(60.01% 0.172 313.6)
XYZxyz(29.3580, 19.4990, 56.2389)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BC7 #7EC75B
analogous
#6E5BC7 #A45BC7 #C75BB4
triadic
#A45BC7 #C7A45B #5BC7A4
tetradic
#A45BC7 #C76E5B #7EC75B #5BB4C7
square
#A45BC7 #C76E5B #7EC75B #5BB4C7
split-complementary
#A45BC7 #B4C75B #5BC76E
monochromatic
#622B7D #863AAB #A45BC7 #BD89D7 #D7B6E6

Accessibility & contrast

On white

4.29
#A45BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A45BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BC7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BC7#FFFFFF#000000##000000
##A45BC71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CB
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#A16D88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45bc7;
/* rgb */ color: rgb(164, 91, 199);
/* oklch */ color: oklch(60.0% 0.172 313.6);
Tailwind
colors: {
  custom: {
    50: '#c18cd8',
    500: '#a45bc7',
    950: '#000000',
  },
}
SCSS
$custom: #a45bc7;
$custom-light: #c18cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bc7",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 280.556,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.17169,
    "h": 313.6
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#A45BC7
secondary
#B7D5A9
accent
#D94F7C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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