#A45FBB#A45FBB

#A45FBB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.0% C 0.152 H 317.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A45FBB
RGBrgb(164, 95, 187)
HSLhsl(285, 40%, 55%)
HSVhsv(285, 49%, 73%)
CMYKcmyk(12.3%, 49.2%, 0%, 26.7%)
CIE-LABlab(51.46, 43.39, -37.28)
CIE-LCHlch(51.46, 57.20, 319.33°)
OKLaboklab(59.95% 0.1116 -0.1034)
OKLCHoklch(59.95% 0.152 317.2)
XYZxyz(28.3704, 19.6657, 49.3055)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBB #76BB5F
analogous
#765FBB #A45FBB #BB5FA4
triadic
#A45FBB #BBA45F #5FBBA4
tetradic
#A45FBB #BB765F #76BB5F #5FA4BB
square
#A45FBB #BB765F #76BB5F #5FA4BB
split-complementary
#A45FBB #A4BB5F #5FBB76
monochromatic
#603070 #85429B #A45FBB #BC8ACD #D5B5E0

Accessibility & contrast

On white

4.26
#A45FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A45FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBB#FFFFFF#000000##000000
##A45FBB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#A36C84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fbb;
/* rgb */ color: rgb(164, 95, 187);
/* oklch */ color: oklch(60.0% 0.152 317.2);
Tailwind
colors: {
  custom: {
    50: '#c18fd0',
    500: '#a45fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a45fbb;
$custom-light: #c18fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fbb",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.15217,
    "h": 317.2
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#A45FBB
secondary
#B1CEA8
accent
#D05876
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A45FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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