#A45BB7#A45BB7

#A45BB7 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.1% C 0.155 H 319.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A45BB7
RGBrgb(164, 91, 183)
HSLhsl(288, 39%, 54%)
HSVhsv(288, 50%, 72%)
CMYKcmyk(10.4%, 50.3%, 0%, 28.2%)
CIE-LABlab(50.45, 44.68, -36.55)
CIE-LCHlch(50.45, 57.73, 320.72°)
OKLaboklab(59.14% 0.1168 -0.1013)
OKLCHoklch(59.14% 0.155 319.1)
XYZxyz(27.5971, 18.7946, 46.9646)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BB7 #6EB75B
analogous
#765BB7 #A45BB7 #B75B9C
triadic
#A45BB7 #B7A45B #5BB7A4
tetradic
#A45BB7 #B7765B #6EB75B #5B9CB7
square
#A45BB7 #B7765B #6EB75B #5B9CB7
split-complementary
#A45BB7 #9CB75B #5BB776
monochromatic
#5D2E69 #834194 #A45BB7 #BC86CA #D3B0DC

Accessibility & contrast

On white

4.41
#A45BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A45BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BB7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BB7#FFFFFF#000000##000000
##A45BB71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#617BB4
Tritanopia (blue-blind)
#A46881
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45bb7;
/* rgb */ color: rgb(164, 91, 183);
/* oklch */ color: oklch(59.1% 0.155 319.1);
Tailwind
colors: {
  custom: {
    50: '#c18ccd',
    500: '#a45bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a45bb7;
$custom-light: #c18ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bb7",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 287.609,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.15457,
    "h": 319.1
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#A45BB7
secondary
#ABCBA3
accent
#CF5971
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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