#B45FBB#B45FBB

#B45FBB is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.9% C 0.161 H 324.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B45FBB
RGBrgb(180, 95, 187)
HSLhsl(295, 40%, 55%)
HSVhsv(295, 49%, 73%)
CMYKcmyk(3.7%, 49.2%, 0%, 26.7%)
CIE-LABlab(53.47, 47.98, -33.98)
CIE-LCHlch(53.47, 58.80, 324.69°)
OKLaboklab(61.87% 0.1308 -0.0936)
OKLCHoklch(61.87% 0.161 324.4)
XYZxyz(31.8834, 21.4771, 49.4701)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FBB #66BB5F
analogous
#865FBB #B45FBB #BB5F94
triadic
#B45FBB #BBB45F #5FBBB4
tetradic
#B45FBB #BB865F #66BB5F #5F94BB
square
#B45FBB #BB865F #66BB5F #5F94BB
split-complementary
#B45FBB #94BB5F #5FBB86
monochromatic
#6B3070 #94429B #B45FBB #C88ACD #DCB5E0

Accessibility & contrast

On white

3.97
#B45FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B45FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FBB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FBB#FFFFFF#000000##000000
##B45FBB1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#B76A84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45fbb;
/* rgb */ color: rgb(180, 95, 187);
/* oklch */ color: oklch(61.9% 0.161 324.4);
Tailwind
colors: {
  custom: {
    50: '#cc8fd0',
    500: '#b45fbb',
    950: '#000000',
  },
}
SCSS
$custom: #b45fbb;
$custom-light: #cc8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fbb",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 295.435,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.16079,
    "h": 324.4
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#B45FBB
secondary
#ABCEA8
accent
#D05861
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B45FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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