#B45FAA#B45FAA

#B45FAA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.1% C 0.145 H 331.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B45FAA
RGBrgb(180, 95, 170)
HSLhsl(307, 36%, 54%)
HSVhsv(307, 47%, 71%)
CMYKcmyk(0%, 47.2%, 5.6%, 29.4%)
CIE-LABlab(52.72, 44.86, -25.29)
CIE-LCHlch(52.72, 51.50, 330.59°)
OKLaboklab(61.07% 0.1277 -0.0687)
OKLCHoklch(61.07% 0.145 331.7)
XYZxyz(30.1701, 20.7918, 40.4465)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FAA #5FB469
analogous
#945FB4 #B45FAA #B45F80
triadic
#B45FAA #AAB45F #5FAAB4
tetradic
#B45FAA #B4945F #5FB469 #5F80B4
square
#B45FAA #B4945F #5FB469 #5F80B4
split-complementary
#B45FAA #80B45F #5FB494
monochromatic
#683161 #924488 #B45FAA #C889C0 #DBB2D6

Accessibility & contrast

On white

4.07
#B45FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B45FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FAA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FAA#FFFFFF#000000##000000
##B45FAA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AD
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#BA657D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45faa;
/* rgb */ color: rgb(180, 95, 170);
/* oklch */ color: oklch(61.1% 0.145 331.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fc3',
    500: '#b45faa',
    950: '#000000',
  },
}
SCSS
$custom: #b45faa;
$custom-light: #cc8fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45faa",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 307.059,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.14498,
    "h": 331.7
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#B45FAA
secondary
#A5CAAA
accent
#CC695C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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