#B045A0#B045A0

#B045A0 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.175 H 333.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B045A0
RGBrgb(176, 69, 160)
HSLhsl(309, 44%, 48%)
HSVhsv(309, 61%, 69%)
CMYKcmyk(0%, 60.8%, 9.1%, 31%)
CIE-LABlab(47.01, 54.55, -28.31)
CIE-LCHlch(47.01, 61.46, 332.57°)
OKLaboklab(56.6% 0.1576 -0.0772)
OKLCHoklch(56.6% 0.176 333.9)
XYZxyz(26.3779, 16.0264, 34.9550)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045A0 #45B055
analogous
#8A45B0 #B045A0 #B0456A
triadic
#B045A0 #A0B045 #45A0B0
tetradic
#B045A0 #B08A45 #45B055 #456AB0
square
#B045A0 #B08A45 #45B055 #456AB0
split-complementary
#B045A0 #6AB045 #45B08A
monochromatic
#582350 #843478 #B045A0 #C66DB8 #D799CE

Accessibility & contrast

On white

4.99
#B045A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B045A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045A0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045A0#FFFFFF#000000##FFFFFF
##B045A01.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4365A3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#B84C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b045a0;
/* rgb */ color: rgb(176, 69, 160);
/* oklch */ color: oklch(56.6% 0.175 333.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fbc',
    500: '#b045a0',
    950: '#000000',
  },
}
SCSS
$custom: #b045a0;
$custom-light: #ca7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b045a0",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 308.972,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.1755,
    "h": 333.9
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#B045A0
secondary
#8EC396
accent
#D36754
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B045A0

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

Preview Lab → · Contrast checker → · Palette generator →

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