#B74EA1#B74EA1

#B74EA1 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.168 H 336.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B74EA1
RGBrgb(183, 78, 161)
HSLhsl(313, 42%, 51%)
HSVhsv(313, 57%, 72%)
CMYKcmyk(0%, 57.4%, 12%, 28.2%)
CIE-LABlab(49.61, 52.60, -24.79)
CIE-LCHlch(49.61, 58.15, 334.77°)
OKLaboklab(58.73% 0.1535 -0.0671)
OKLCHoklch(58.73% 0.168 336.4)
XYZxyz(28.6861, 18.0915, 35.6924)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA1 #4EB764
analogous
#984EB7 #B74EA1 #B74E6C
triadic
#B74EA1 #A1B74E #4EA1B7
tetradic
#B74EA1 #B7984E #4EB764 #4E6CB7
square
#B74EA1 #B7984E #4EB764 #4E6CB7
split-complementary
#B74EA1 #6CB74E #4EB798
monochromatic
#632856 #8E3A7C #B74EA1 #C97AB8 #DAA5CF

Accessibility & contrast

On white

4.55
#B74EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B74EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA1#FFFFFF#000000##000000
##B74EA11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#C05370
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74ea1;
/* rgb */ color: rgb(183, 78, 161);
/* oklch */ color: oklch(58.7% 0.168 336.4);
Tailwind
colors: {
  custom: {
    50: '#cf85bd',
    500: '#b74ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea1;
$custom-light: #cf85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea1",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 312.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.16751,
    "h": 336.4
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#B74EA1
secondary
#99C8A3
accent
#D27056
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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