#B045AC#B045AC

#B045AC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.185 H 329.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B045AC
RGBrgb(176, 69, 172)
HSLhsl(302, 44%, 48%)
HSVhsv(302, 61%, 69%)
CMYKcmyk(0%, 60.8%, 2.3%, 31%)
CIE-LABlab(47.58, 56.56, -34.51)
CIE-LCHlch(47.58, 66.26, 328.61°)
OKLaboklab(57.2% 0.1591 -0.095)
OKLCHoklch(57.2% 0.185 329.2)
XYZxyz(27.4787, 16.4668, 40.7528)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AC #45B049
analogous
#7E45B0 #B045AC #B04576
triadic
#B045AC #ACB045 #45ACB0
tetradic
#B045AC #B07E45 #45B049 #4576B0
square
#B045AC #B07E45 #45B049 #4576B0
split-complementary
#B045AC #76B045 #45B07E
monochromatic
#582356 #843481 #B045AC #C66DC2 #D799D5

Accessibility & contrast

On white

4.89
#B045AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B045AC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045AC#FFFFFF#000000##FFFFFF
##B045AC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b045ac;
/* rgb */ color: rgb(176, 69, 172);
/* oklch */ color: oklch(57.2% 0.185 329.2);
Tailwind
colors: {
  custom: {
    50: '#ca80c5',
    500: '#b045ac',
    950: '#000000',
  },
}
SCSS
$custom: #b045ac;
$custom-light: #ca80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ac",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 302.243,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.572,
    "c": 0.18528,
    "h": 329.2
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B045AC

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

Preview Lab → · Contrast checker → · Palette generator →

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