#A45B98#A45B98

#A45B98 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.7% C 0.124 H 333.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A45B98
RGBrgb(164, 91, 152)
HSLhsl(310, 29%, 50%)
HSVhsv(310, 45%, 64%)
CMYKcmyk(0%, 44.5%, 7.3%, 35.7%)
CIE-LABlab(49.06, 38.72, -20.53)
CIE-LCHlch(49.06, 43.82, 332.07°)
OKLaboklab(57.65% 0.1109 -0.0555)
OKLCHoklch(57.65% 0.124 333.4)
XYZxyz(24.7183, 17.6431, 31.8032)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45B98 #5BA467
analogous
#8B5BA4 #A45B98 #A45B74
triadic
#A45B98 #98A45B #5B98A4
tetradic
#A45B98 #A48B5B #5BA467 #5B74A4
square
#A45B98 #A48B5B #5BA467 #5B74A4
split-complementary
#A45B98 #74A45B #5BA48B
monochromatic
#552F4F #7D4574 #A45B98 #BA82B1 #D0AAC9

Accessibility & contrast

On white

4.64
#A45B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A45B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A45B98
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45B98#FFFFFF#000000##FFFFFF
##A45B981.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#6E7896
Tritanopia (blue-blind)
#AA5F72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a45b98;
/* rgb */ color: rgb(164, 91, 152);
/* oklch */ color: oklch(57.7% 0.124 333.4);
Tailwind
colors: {
  custom: {
    50: '#c08bb6',
    500: '#a45b98',
    950: '#000000',
  },
}
SCSS
$custom: #a45b98;
$custom-light: #c08bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45b98",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 309.863,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.124,
    "h": 333.4
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#A45B98
secondary
#9DBEA2
accent
#C57363
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #A45B98

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

Preview Lab → · Contrast checker → · Palette generator →

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