#B045AA#B045AA

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

Color values

HEX#B045AA
RGBrgb(176, 69, 170)
HSLhsl(303, 44%, 48%)
HSVhsv(303, 61%, 69%)
CMYKcmyk(0%, 60.8%, 3.4%, 31%)
CIE-LABlab(47.48, 56.22, -33.49)
CIE-LCHlch(47.48, 65.43, 329.22°)
OKLaboklab(57.1% 0.1589 -0.092)
OKLCHoklch(57.1% 0.184 329.9)
XYZxyz(27.2881, 16.3905, 39.7488)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AA #45B04B
analogous
#8045B0 #B045AA #B04575
triadic
#B045AA #AAB045 #45AAB0
tetradic
#B045AA #B08045 #45B04B #4575B0
square
#B045AA #B08045 #45B04B #4575B0
split-complementary
#B045AA #75B045 #45B080
monochromatic
#582355 #843480 #B045AA #C66DC1 #D799D3

Accessibility & contrast

On white

4.91
#B045AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B045AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045AA#FFFFFF#000000##FFFFFF
##B045AA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#B65071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b045aa;
/* rgb */ color: rgb(176, 69, 170);
/* oklch */ color: oklch(57.1% 0.184 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fc3',
    500: '#b045aa',
    950: '#000000',
  },
}
SCSS
$custom: #b045aa;
$custom-light: #ca7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b045aa",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 303.364,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.18361,
    "h": 329.9
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#B045AA
secondary
#8EC391
accent
#D35C54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B045AA

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

Preview Lab → · Contrast checker → · Palette generator →

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