#B45AAA#B45AAA

#B45AAA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.3% C 0.153 H 331.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B45AAA
RGBrgb(180, 90, 170)
HSLhsl(307, 38%, 53%)
HSVhsv(307, 50%, 71%)
CMYKcmyk(0%, 50%, 5.6%, 29.4%)
CIE-LABlab(51.75, 47.41, -26.79)
CIE-LCHlch(51.75, 54.46, 330.53°)
OKLaboklab(60.35% 0.135 -0.073)
OKLCHoklch(60.35% 0.153 331.6)
XYZxyz(29.7341, 19.9197, 40.3012)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AAA #5AB464
analogous
#915AB4 #B45AAA #B45A7D
triadic
#B45AAA #AAB45A #5AAAB4
tetradic
#B45AAA #B4915A #5AB464 #5A7DB4
square
#B45AAA #B4915A #5AB464 #5A7DB4
split-complementary
#B45AAA #7DB45A #5AB491
monochromatic
#652E5F #904187 #B45AAA #C784C0 #DAAED5

Accessibility & contrast

On white

4.21
#B45AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B45AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AAA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AAA#FFFFFF#000000##000000
##B45AAA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AD
Deuteranopia (green-blind)
#7180A7
Tritanopia (blue-blind)
#BA617A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b45aaa;
/* rgb */ color: rgb(180, 90, 170);
/* oklch */ color: oklch(60.3% 0.153 331.6);
Tailwind
colors: {
  custom: {
    50: '#cc8cc3',
    500: '#b45aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b45aaa;
$custom-light: #cc8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aaa",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 306.667,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.15342,
    "h": 331.6
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#B45AAA
secondary
#A1C8A6
accent
#CD675A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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