#B045A3#B045A3

#B045A3 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.178 H 332.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B045A3
RGBrgb(176, 69, 163)
HSLhsl(307, 44%, 48%)
HSVhsv(307, 61%, 69%)
CMYKcmyk(0%, 60.8%, 7.4%, 31%)
CIE-LABlab(47.15, 55.04, -29.87)
CIE-LCHlch(47.15, 62.62, 331.51°)
OKLaboklab(56.74% 0.158 -0.0816)
OKLCHoklch(56.74% 0.178 332.7)
XYZxyz(26.6435, 16.1327, 36.3538)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045A3 #45B052
analogous
#8745B0 #B045A3 #B0456D
triadic
#B045A3 #A3B045 #45A3B0
tetradic
#B045A3 #B08745 #45B052 #456DB0
square
#B045A3 #B08745 #45B052 #456DB0
split-complementary
#B045A3 #6DB045 #45B087
monochromatic
#582352 #84347A #B045A3 #C66DBB #D799CF

Accessibility & contrast

On white

4.97
#B045A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B045A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045A3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045A3#FFFFFF#000000##FFFFFF
##B045A31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#B74E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b045a3;
/* rgb */ color: rgb(176, 69, 163);
/* oklch */ color: oklch(56.7% 0.178 332.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fbe',
    500: '#b045a3',
    950: '#000000',
  },
}
SCSS
$custom: #b045a3;
$custom-light: #ca7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b045a3",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 307.29,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.17788,
    "h": 332.7
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#B045A3
secondary
#8EC394
accent
#D36454
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B045A3

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

Preview Lab → · Contrast checker → · Palette generator →

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