#B74CA7#B74CA7

#B74CA7 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.175 H 333.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B74CA7
RGBrgb(183, 76, 167)
HSLhsl(309, 43%, 51%)
HSVhsv(309, 58%, 72%)
CMYKcmyk(0%, 58.5%, 8.7%, 28.2%)
CIE-LABlab(49.53, 54.49, -28.44)
CIE-LCHlch(49.53, 61.47, 332.44°)
OKLaboklab(58.76% 0.1572 -0.0775)
OKLCHoklch(58.76% 0.175 333.8)
XYZxyz(29.0880, 18.0283, 38.4995)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CA7 #4CB75C
analogous
#914CB7 #B74CA7 #B74C71
triadic
#B74CA7 #A7B74C #4CA7B7
tetradic
#B74CA7 #B7914C #4CB75C #4C71B7
square
#B74CA7 #B7914C #4CB75C #4C71B7
split-complementary
#B74CA7 #71B74C #4CB791
monochromatic
#612759 #8D3980 #B74CA7 #C978BC #DAA3D2

Accessibility & contrast

On white

4.56
#B74CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B74CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CA7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CA7#FFFFFF#000000##000000
##B74CA71.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#BF5372
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74ca7;
/* rgb */ color: rgb(183, 76, 167);
/* oklch */ color: oklch(58.8% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf84c1',
    500: '#b74ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b74ca7;
$custom-light: #cf84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ca7",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 308.972,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.17527,
    "h": 333.8
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#B74CA7
secondary
#98C79F
accent
#D26855
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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