#B74DB2#B74DB2

#B74DB2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.183 H 329.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B74DB2
RGBrgb(183, 77, 178)
HSLhsl(303, 42%, 51%)
HSVhsv(303, 58%, 72%)
CMYKcmyk(0%, 57.9%, 2.7%, 28.2%)
CIE-LABlab(50.21, 55.89, -33.84)
CIE-LCHlch(50.21, 65.33, 328.81°)
OKLaboklab(59.42% 0.1574 -0.0929)
OKLCHoklch(59.42% 0.183 329.4)
XYZxyz(30.2179, 18.5914, 44.1077)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DB2 #4DB752
analogous
#874DB7 #B74DB2 #B74D7D
triadic
#B74DB2 #B2B74D #4DB2B7
tetradic
#B74DB2 #B7874D #4DB752 #4D7DB7
square
#B74DB2 #B7874D #4DB752 #4D7DB7
split-complementary
#B74DB2 #7DB74D #4DB787
monochromatic
#62285F #8E398A #B74DB2 #C979C5 #DAA4D8

Accessibility & contrast

On white

4.45
#B74DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B74DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DB2#FFFFFF#000000##000000
##B74DB21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#BD5878
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74db2;
/* rgb */ color: rgb(183, 77, 178);
/* oklch */ color: oklch(59.4% 0.183 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf85c9',
    500: '#b74db2',
    950: '#000000',
  },
}
SCSS
$custom: #b74db2;
$custom-light: #cf85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74db2",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 302.83,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.18281,
    "h": 329.4
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#B74DB2
secondary
#98C79B
accent
#D25B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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