#B74CB2#B74CB2

#B74CB2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.184 H 329.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B74CB2
RGBrgb(183, 76, 178)
HSLhsl(303, 43%, 51%)
HSVhsv(303, 58%, 72%)
CMYKcmyk(0%, 58.5%, 2.7%, 28.2%)
CIE-LABlab(50.04, 56.34, -34.10)
CIE-LCHlch(50.04, 65.85, 328.82°)
OKLaboklab(59.3% 0.1587 -0.0937)
OKLCHoklch(59.3% 0.184 329.5)
XYZxyz(30.1485, 18.4525, 44.0846)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CB2 #4CB751
analogous
#864CB7 #B74CB2 #B74C7C
triadic
#B74CB2 #B2B74C #4CB2B7
tetradic
#B74CB2 #B7864C #4CB751 #4C7CB7
square
#B74CB2 #B7864C #4CB751 #4C7CB7
split-complementary
#B74CB2 #7CB74C #4CB786
monochromatic
#61275F #8D3989 #B74CB2 #C978C5 #DAA3D8

Accessibility & contrast

On white

4.48
#B74CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B74CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CB2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CB2#FFFFFF#000000##000000
##B74CB21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#BD5778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74cb2;
/* rgb */ color: rgb(183, 76, 178);
/* oklch */ color: oklch(59.3% 0.184 329.5);
Tailwind
colors: {
  custom: {
    50: '#cf84c9',
    500: '#b74cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b74cb2;
$custom-light: #cf84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cb2",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 302.804,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.1843,
    "h": 329.5
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#B74CB2
secondary
#98C79A
accent
#D25B55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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