#B748BA#B748BA

#B748BA is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.3% C 0.197 H 326.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B748BA
RGBrgb(183, 72, 186)
HSLhsl(298, 45%, 51%)
HSVhsv(298, 61%, 73%)
CMYKcmyk(1.6%, 61.3%, 0%, 27.1%)
CIE-LABlab(49.80, 59.48, -39.14)
CIE-LCHlch(49.80, 71.21, 326.65°)
OKLaboklab(59.25% 0.1644 -0.1082)
OKLCHoklch(59.25% 0.197 326.7)
XYZxyz(30.7082, 18.2491, 48.3498)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B748BA #4BBA48
analogous
#7E48BA #B748BA #BA4884
triadic
#B748BA #BAB748 #48BAB7
tetradic
#B748BA #BA7E48 #4BBA48 #4884BA
square
#B748BA #BA7E48 #4BBA48 #4884BA
split-complementary
#B748BA #84BA48 #48BA7E
monochromatic
#612562 #8D368F #B748BA #C874CB #DAA1DC

Accessibility & contrast

On white

4.52
#B748BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B748BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B748BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B748BA#FFFFFF#000000##000000
##B748BA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#BC577A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b748ba;
/* rgb */ color: rgb(183, 72, 186);
/* oklch */ color: oklch(59.3% 0.197 326.7);
Tailwind
colors: {
  custom: {
    50: '#d082cf',
    500: '#b748ba',
    950: '#000000',
  },
}
SCSS
$custom: #b748ba;
$custom-light: #d082cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b748ba",
  "rgb": {
    "r": 183,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 298.421,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.19683,
    "h": 326.7
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#B748BA
secondary
#97C896
accent
#D55356
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B748BA

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

Preview Lab → · Contrast checker → · Palette generator →

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