#B045BA#B045BA

#B045BA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 58.0% C 0.197 H 324.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B045BA
RGBrgb(176, 69, 186)
HSLhsl(295, 46%, 50%)
HSVhsv(295, 63%, 73%)
CMYKcmyk(5.4%, 62.9%, 0%, 27.1%)
CIE-LABlab(48.30, 59.04, -41.57)
CIE-LCHlch(48.30, 72.20, 324.85°)
OKLaboklab(57.96% 0.16 -0.1154)
OKLCHoklch(57.96% 0.197 324.2)
XYZxyz(28.8948, 17.0332, 48.2106)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045BA #4FBA45
analogous
#7645BA #B045BA #BA4589
triadic
#B045BA #BAB045 #45BAB0
tetradic
#B045BA #BA7645 #4FBA45 #4589BA
square
#B045BA #BA7645 #4FBA45 #4589BA
split-complementary
#B045BA #89BA45 #45BA76
monochromatic
#5C2461 #86348D #B045BA #C372CB #D69EDB

Accessibility & contrast

On white

4.77
#B045BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B045BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045BA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045BA#FFFFFF#000000##FFFFFF
##B045BA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABE
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#B35679
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b045ba;
/* rgb */ color: rgb(176, 69, 186);
/* oklch */ color: oklch(58.0% 0.197 324.2);
Tailwind
colors: {
  custom: {
    50: '#cb80cf',
    500: '#b045ba',
    950: '#000000',
  },
}
SCSS
$custom: #b045ba;
$custom-light: #cb80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ba",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 294.872,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.19731,
    "h": 324.2
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#B045BA
secondary
#98C893
accent
#D6525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B045BA

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

Preview Lab → · Contrast checker → · Palette generator →

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