#B74CB9#B74CB9

#B74CB9 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.190 H 326.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B74CB9
RGBrgb(183, 76, 185)
HSLhsl(299, 44%, 51%)
HSVhsv(299, 59%, 73%)
CMYKcmyk(1.1%, 58.9%, 0%, 27.5%)
CIE-LABlab(50.38, 57.56, -37.64)
CIE-LCHlch(50.38, 68.77, 326.82°)
OKLaboklab(59.66% 0.1594 -0.1039)
OKLCHoklch(59.66% 0.19 326.9)
XYZxyz(30.8693, 18.7408, 47.8809)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CB9 #4EB94C
analogous
#804CB9 #B74CB9 #B94C84
triadic
#B74CB9 #B9B74C #4CB9B7
tetradic
#B74CB9 #B9804C #4EB94C #4C84B9
square
#B74CB9 #B9804C #4EB94C #4C84B9
split-complementary
#B74CB9 #84B94C #4CB980
monochromatic
#632764 #8E3890 #B74CB9 #C978CA #DAA4DB

Accessibility & contrast

On white

4.42
#B74CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B74CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CB9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CB9#FFFFFF#000000##000000
##B74CB91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#637DB6
Tritanopia (blue-blind)
#BC5A7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74cb9;
/* rgb */ color: rgb(183, 76, 185);
/* oklch */ color: oklch(59.7% 0.190 326.9);
Tailwind
colors: {
  custom: {
    50: '#cf84ce',
    500: '#b74cb9',
    950: '#000000',
  },
}
SCSS
$custom: #b74cb9;
$custom-light: #cf84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cb9",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 298.899,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.19029,
    "h": 326.9
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#B74CB9
secondary
#99C898
accent
#D45457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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