#B740BA#B740BA

#B740BA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.207 H 326.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B740BA
RGBrgb(183, 64, 186)
HSLhsl(299, 49%, 49%)
HSVhsv(299, 66%, 73%)
CMYKcmyk(1.6%, 65.6%, 0%, 27.1%)
CIE-LABlab(48.61, 62.78, -41.01)
CIE-LCHlch(48.61, 74.99, 326.84°)
OKLaboklab(58.39% 0.1737 -0.1136)
OKLCHoklch(58.39% 0.207 326.8)
XYZxyz(30.2242, 17.2812, 48.1885)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740BA #43BA40
analogous
#7A40BA #B740BA #BA4080
triadic
#B740BA #BAB740 #40BAB7
tetradic
#B740BA #BA7A40 #43BA40 #4080BA
square
#B740BA #BA7A40 #43BA40 #4080BA
split-complementary
#B740BA #80BA40 #40BA7A
monochromatic
#5D215F #8A308C #B740BA #CA6BCC #DA99DC

Accessibility & contrast

On white

4.71
#B740BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B740BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B740BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740BA#FFFFFF#000000##FFFFFF
##B740BA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#BC5178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b740ba;
/* rgb */ color: rgb(183, 64, 186);
/* oklch */ color: oklch(58.4% 0.207 326.8);
Tailwind
colors: {
  custom: {
    50: '#d07ecf',
    500: '#b740ba',
    950: '#000000',
  },
}
SCSS
$custom: #b740ba;
$custom-light: #d07ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#b740ba",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 298.525,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.20749,
    "h": 326.8
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#B740BA
secondary
#90C88E
accent
#D84F53
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B740BA

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

Preview Lab → · Contrast checker → · Palette generator →

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