#B74EA4#B74EA4

#B74EA4 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.9% C 0.170 H 335.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B74EA4
RGBrgb(183, 78, 164)
HSLhsl(311, 42%, 51%)
HSVhsv(311, 57%, 72%)
CMYKcmyk(0%, 57.4%, 10.4%, 28.2%)
CIE-LABlab(49.74, 53.08, -26.36)
CIE-LCHlch(49.74, 59.27, 333.60°)
OKLaboklab(58.87% 0.154 -0.0716)
OKLCHoklch(58.87% 0.17 335.1)
XYZxyz(28.9538, 18.1986, 37.1025)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA4 #4EB761
analogous
#954EB7 #B74EA4 #B74E6F
triadic
#B74EA4 #A4B74E #4EA4B7
tetradic
#B74EA4 #B7954E #4EB761 #4E6FB7
square
#B74EA4 #B7954E #4EB761 #4E6FB7
split-complementary
#B74EA4 #6FB74E #4EB795
monochromatic
#632858 #8E3A7F #B74EA4 #C97ABA #DAA5D1

Accessibility & contrast

On white

4.53
#B74EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B74EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA4#FFFFFF#000000##000000
##B74EA41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA7
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#BF5472
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74ea4;
/* rgb */ color: rgb(183, 78, 164);
/* oklch */ color: oklch(58.9% 0.170 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf85bf',
    500: '#b74ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea4;
$custom-light: #cf85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea4",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 310.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58866,
    "c": 0.16985,
    "h": 335.1
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#B74EA4
secondary
#99C8A2
accent
#D26C56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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