#B74FAC#B74FAC

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

Color values

HEX#B74FAC
RGBrgb(183, 79, 172)
HSLhsl(306, 42%, 51%)
HSVhsv(306, 57%, 72%)
CMYKcmyk(0%, 56.8%, 6%, 28.2%)
CIE-LABlab(50.26, 53.95, -30.24)
CIE-LCHlch(50.26, 61.84, 330.73°)
OKLaboklab(59.37% 0.154 -0.0826)
OKLCHoklch(59.37% 0.175 331.8)
XYZxyz(29.7707, 18.6398, 41.0515)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FAC #4FB75A
analogous
#8E4FB7 #B74FAC #B74F78
triadic
#B74FAC #ACB74F #4FACB7
tetradic
#B74FAC #B78E4F #4FB75A #4F78B7
square
#B74FAC #B78E4F #4FB75A #4F78B7
split-complementary
#B74FAC #78B74F #4FB78E
monochromatic
#63295D #8F3A86 #B74FAC #C97AC0 #DBA6D5

Accessibility & contrast

On white

4.44
#B74FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B74FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FAC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FAC#FFFFFF#000000##000000
##B74FAC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#BE5876
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74fac;
/* rgb */ color: rgb(183, 79, 172);
/* oklch */ color: oklch(59.4% 0.175 331.8);
Tailwind
colors: {
  custom: {
    50: '#cf86c5',
    500: '#b74fac',
    950: '#000000',
  },
}
SCSS
$custom: #b74fac;
$custom-light: #cf86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fac",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 306.346,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.17477,
    "h": 331.8
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#B74FAC
secondary
#9AC89F
accent
#D26356
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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