#B74CB3#B74CB3

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

Color values

HEX#B74CB3
RGBrgb(183, 76, 179)
HSLhsl(302, 43%, 51%)
HSVhsv(302, 58%, 72%)
CMYKcmyk(0%, 58.5%, 2.2%, 28.2%)
CIE-LABlab(50.09, 56.51, -34.60)
CIE-LCHlch(50.09, 66.26, 328.52°)
OKLaboklab(59.35% 0.1588 -0.0951)
OKLCHoklch(59.35% 0.185 329.1)
XYZxyz(30.2492, 18.4928, 44.6153)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CB3 #4CB750
analogous
#854CB7 #B74CB3 #B74C7D
triadic
#B74CB3 #B3B74C #4CB3B7
tetradic
#B74CB3 #B7854C #4CB750 #4C7DB7
square
#B74CB3 #B7854C #4CB750 #4C7DB7
split-complementary
#B74CB3 #7DB74C #4CB785
monochromatic
#61275F #8D398A #B74CB3 #C978C6 #DAA3D8

Accessibility & contrast

On white

4.47
#B74CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B74CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CB3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CB3#FFFFFF#000000##000000
##B74CB31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#BD5878
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74cb3;
/* rgb */ color: rgb(183, 76, 179);
/* oklch */ color: oklch(59.3% 0.185 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf84ca',
    500: '#b74cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b74cb3;
$custom-light: #cf84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cb3",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 302.243,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.18514,
    "h": 329.1
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#B74CB3
secondary
#98C799
accent
#D25A55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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