#B740BC#B740BC

#B740BC is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.209 H 326.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B740BC
RGBrgb(183, 64, 188)
HSLhsl(298, 49%, 49%)
HSVhsv(298, 66%, 74%)
CMYKcmyk(2.7%, 66%, 0%, 26.3%)
CIE-LABlab(48.72, 63.12, -42.01)
CIE-LCHlch(48.72, 75.82, 326.36°)
OKLaboklab(58.5% 0.1737 -0.1164)
OKLCHoklch(58.5% 0.209 326.2)
XYZxyz(30.4383, 17.3669, 49.3161)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740BC #45BC40
analogous
#7940BC #B740BC #BC4083
triadic
#B740BC #BCB740 #40BCB7
tetradic
#B740BC #BC7940 #45BC40 #4083BC
square
#B740BC #BC7940 #45BC40 #4083BC
split-complementary
#B740BC #83BC40 #40BC79
monochromatic
#5E2161 #8B308E #B740BC #C96CCD #DA9ADD

Accessibility & contrast

On white

4.69
#B740BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B740BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B740BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740BC#FFFFFF#000000##FFFFFF
##B740BC1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#BC5279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b740bc;
/* rgb */ color: rgb(183, 64, 188);
/* oklch */ color: oklch(58.5% 0.209 326.2);
Tailwind
colors: {
  custom: {
    50: '#d07ed1',
    500: '#b740bc',
    950: '#000000',
  },
}
SCSS
$custom: #b740bc;
$custom-light: #d07ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#b740bc",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 297.581,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.20914,
    "h": 326.2
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#B740BC
secondary
#92C98F
accent
#D94F55
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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