#A45FBD#A45FBD

#A45FBD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.1% C 0.154 H 316.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A45FBD
RGBrgb(164, 95, 189)
HSLhsl(284, 42%, 56%)
HSVhsv(284, 50%, 74%)
CMYKcmyk(13.2%, 49.7%, 0%, 25.9%)
CIE-LABlab(51.56, 43.81, -38.28)
CIE-LCHlch(51.56, 58.18, 318.86°)
OKLaboklab(60.06% 0.1119 -0.1063)
OKLCHoklch(60.06% 0.154 316.5)
XYZxyz(28.5860, 19.7519, 50.4409)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBD #78BD5F
analogous
#755FBD #A45FBD #BD5FA7
triadic
#A45FBD #BDA45F #5FBDA4
tetradic
#A45FBD #BD755F #78BD5F #5FA7BD
square
#A45FBD #BD755F #78BD5F #5FA7BD
split-complementary
#A45FBD #A7BD5F #5FBD75
monochromatic
#612F72 #85419E #A45FBD #BD8ACF #D5B6E1

Accessibility & contrast

On white

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

On black

4.95
#A45FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBD#FFFFFF#000000##000000
##A45FBD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C0
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#A36D85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fbd;
/* rgb */ color: rgb(164, 95, 189);
/* oklch */ color: oklch(60.1% 0.154 316.5);
Tailwind
colors: {
  custom: {
    50: '#c18fd1',
    500: '#a45fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a45fbd;
$custom-light: #c18fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fbd",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 284.043,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.15434,
    "h": 316.5
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#A45FBD
secondary
#B3CFA8
accent
#D15677
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A45FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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