#B742BC#B742BC

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

Color values

HEX#B742BC
RGBrgb(183, 66, 188)
HSLhsl(298, 48%, 50%)
HSVhsv(298, 65%, 74%)
CMYKcmyk(2.7%, 64.9%, 0%, 26.3%)
CIE-LABlab(49.00, 62.33, -41.56)
CIE-LCHlch(49.00, 74.91, 326.30°)
OKLaboklab(58.71% 0.1715 -0.1152)
OKLCHoklch(58.71% 0.207 326.1)
XYZxyz(30.5532, 17.5965, 49.3544)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B742BC #47BC42
analogous
#7A42BC #B742BC #BC4284
triadic
#B742BC #BCB742 #42BCB7
tetradic
#B742BC #BC7A42 #47BC42 #4284BC
square
#B742BC #BC7A42 #47BC42 #4284BC
split-complementary
#B742BC #84BC42 #42BC7A
monochromatic
#5F2261 #8B328F #B742BC #C96FCC #DA9CDC

Accessibility & contrast

On white

4.65
#B742BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B742BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B742BC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B742BC#FFFFFF#000000##FFFFFF
##B742BC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#BC5479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b742bc;
/* rgb */ color: rgb(183, 66, 188);
/* oklch */ color: oklch(58.7% 0.207 326.1);
Tailwind
colors: {
  custom: {
    50: '#d07fd0',
    500: '#b742bc',
    950: '#000000',
  },
}
SCSS
$custom: #b742bc;
$custom-light: #d07fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b742bc",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 297.541,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.20658,
    "h": 326.1
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#B742BC
secondary
#94C991
accent
#D85056
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B742BC

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

Preview Lab → · Contrast checker → · Palette generator →

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