#B74BB1#B74BB1

#B74BB1 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.185 H 329.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B74BB1
RGBrgb(183, 75, 177)
HSLhsl(303, 43%, 51%)
HSVhsv(303, 59%, 72%)
CMYKcmyk(0%, 59%, 3.3%, 28.2%)
CIE-LABlab(49.83, 56.61, -33.84)
CIE-LCHlch(49.83, 65.96, 329.13°)
OKLaboklab(59.13% 0.1599 -0.0929)
OKLCHoklch(59.13% 0.185 329.8)
XYZxyz(29.9801, 18.2758, 43.5350)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74BB1 #4BB751
analogous
#874BB7 #B74BB1 #B74B7B
triadic
#B74BB1 #B1B74B #4BB1B7
tetradic
#B74BB1 #B7874B #4BB751 #4B7BB7
square
#B74BB1 #B7874B #4BB751 #4B7BB7
split-complementary
#B74BB1 #7BB74B #4BB787
monochromatic
#61275E #8D3888 #B74BB1 #C877C4 #DAA2D7

Accessibility & contrast

On white

4.51
#B74BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B74BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74BB1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74BB1#FFFFFF#000000##000000
##B74BB11.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#436DB4
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#BD5677
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74bb1;
/* rgb */ color: rgb(183, 75, 177);
/* oklch */ color: oklch(59.1% 0.185 329.8);
Tailwind
colors: {
  custom: {
    50: '#cf84c8',
    500: '#b74bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b74bb1;
$custom-light: #cf84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b74bb1",
  "rgb": {
    "r": 183,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 303.333,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.18493,
    "h": 329.8
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#B74BB1
secondary
#97C79A
accent
#D35C55
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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