#B742BB#B742BB

#B742BB is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.206 H 326.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B742BB
RGBrgb(183, 66, 187)
HSLhsl(298, 48%, 50%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.1%, 64.7%, 0%, 26.7%)
CIE-LABlab(48.95, 62.15, -41.06)
CIE-LCHlch(48.95, 74.49, 326.55°)
OKLaboklab(58.65% 0.1715 -0.1137)
OKLCHoklch(58.65% 0.206 326.4)
XYZxyz(30.4457, 17.5535, 48.7886)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742BB #46BB42
analogous
#7B42BB #B742BB #BB4282
triadic
#B742BB #BBB742 #42BBB7
tetradic
#B742BB #BB7B42 #46BB42 #4282BB
square
#B742BB #BB7B42 #46BB42 #4282BB
split-complementary
#B742BB #82BB42 #42BB7B
monochromatic
#5E2261 #8B328E #B742BB #C96ECC #DA9CDC

Accessibility & contrast

On white

4.66
#B742BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B742BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B742BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742BB#FFFFFF#000000##FFFFFF
##B742BB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#BC5379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b742bb;
/* rgb */ color: rgb(183, 66, 187);
/* oklch */ color: oklch(58.7% 0.206 326.4);
Tailwind
colors: {
  custom: {
    50: '#d07fd0',
    500: '#b742bb',
    950: '#000000',
  },
}
SCSS
$custom: #b742bb;
$custom-light: #d07fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b742bb",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 298.017,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.20574,
    "h": 326.4
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#B742BB
secondary
#93C891
accent
#D75055
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B742BB

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

Preview Lab → · Contrast checker → · Palette generator →

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