#B745BA#B745BA

#B745BA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.201 H 326.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B745BA
RGBrgb(183, 69, 186)
HSLhsl(298, 46%, 50%)
HSVhsv(298, 63%, 73%)
CMYKcmyk(1.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(49.34, 60.75, -39.86)
CIE-LCHlch(49.34, 72.66, 326.73°)
OKLaboklab(58.92% 0.168 -0.1103)
OKLCHoklch(58.92% 0.201 326.7)
XYZxyz(30.5189, 17.8706, 48.2868)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B745BA #48BA45
analogous
#7D45BA #B745BA #BA4582
triadic
#B745BA #BAB745 #45BAB7
tetradic
#B745BA #BA7D45 #48BA45 #4582BA
square
#B745BA #BA7D45 #48BA45 #4582BA
split-complementary
#B745BA #82BA45 #45BA7D
monochromatic
#5F2461 #8B348D #B745BA #C872CB #DA9EDB

Accessibility & contrast

On white

4.59
#B745BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B745BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B745BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B745BA#FFFFFF#000000##FFFFFF
##B745BA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#5F7AB7
Tritanopia (blue-blind)
#BC5579
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b745ba;
/* rgb */ color: rgb(183, 69, 186);
/* oklch */ color: oklch(58.9% 0.201 326.7);
Tailwind
colors: {
  custom: {
    50: '#d081cf',
    500: '#b745ba',
    950: '#000000',
  },
}
SCSS
$custom: #b745ba;
$custom-light: #d081cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b745ba",
  "rgb": {
    "r": 183,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 298.462,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.58917,
    "c": 0.20093,
    "h": 326.7
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#B745BA
secondary
#95C893
accent
#D65256
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B745BA

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

Preview Lab → · Contrast checker → · Palette generator →

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