#B045AB#B045AB

#B045AB is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.184 H 329.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B045AB
RGBrgb(176, 69, 171)
HSLhsl(303, 44%, 48%)
HSVhsv(303, 61%, 69%)
CMYKcmyk(0%, 60.8%, 2.8%, 31%)
CIE-LABlab(47.53, 56.39, -34.00)
CIE-LCHlch(47.53, 65.84, 328.91°)
OKLaboklab(57.15% 0.159 -0.0935)
OKLCHoklch(57.15% 0.184 329.5)
XYZxyz(27.3831, 16.4285, 40.2489)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AB #45B04A
analogous
#7F45B0 #B045AB #B04575
triadic
#B045AB #ABB045 #45ABB0
tetradic
#B045AB #B07F45 #45B04A #4575B0
square
#B045AB #B07F45 #45B04A #4575B0
split-complementary
#B045AB #75B045 #45B07F
monochromatic
#582356 #843480 #B045AB #C66DC1 #D799D4

Accessibility & contrast

On white

4.90
#B045AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B045AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045AB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045AB#FFFFFF#000000##FFFFFF
##B045AB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#B65172
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b045ab;
/* rgb */ color: rgb(176, 69, 171);
/* oklch */ color: oklch(57.1% 0.184 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fc4',
    500: '#b045ab',
    950: '#000000',
  },
}
SCSS
$custom: #b045ab;
$custom-light: #ca7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ab",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 302.804,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.18444,
    "h": 329.5
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#B045AB
secondary
#8EC390
accent
#D35A54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045AB

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

Preview Lab → · Contrast checker → · Palette generator →

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