#B740BF#B740BF

#B740BF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.212 H 325.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B740BF
RGBrgb(183, 64, 191)
HSLhsl(296, 50%, 50%)
HSVhsv(296, 66%, 75%)
CMYKcmyk(4.2%, 66.5%, 0%, 25.1%)
CIE-LABlab(48.88, 63.64, -43.50)
CIE-LCHlch(48.88, 77.09, 325.65°)
OKLaboklab(58.67% 0.1738 -0.1208)
OKLCHoklch(58.67% 0.212 325.2)
XYZxyz(30.7651, 17.4976, 51.0370)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B740BF #48BF40
analogous
#7740BF #B740BF #BF4088
triadic
#B740BF #BFB740 #40BFB7
tetradic
#B740BF #BF7740 #48BF40 #4088BF
square
#B740BF #BF7740 #48BF40 #4088BF
split-complementary
#B740BF #88BF40 #40BF77
monochromatic
#5F2163 #8B3191 #B740BF #C86ECE #DA9CDE

Accessibility & contrast

On white

4.67
#B740BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B740BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B740BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B740BF#FFFFFF#000000##FFFFFF
##B740BF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#BB537A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b740bf;
/* rgb */ color: rgb(183, 64, 191);
/* oklch */ color: oklch(58.7% 0.212 325.2);
Tailwind
colors: {
  custom: {
    50: '#d07ed3',
    500: '#b740bf',
    950: '#000000',
  },
}
SCSS
$custom: #b740bf;
$custom-light: #d07ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#b740bf",
  "rgb": {
    "r": 183,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 296.22,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.21162,
    "h": 325.2
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#B740BF
secondary
#95CA91
accent
#D94E57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B740BF

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

Preview Lab → · Contrast checker → · Palette generator →

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