#B74FA1#B74FA1

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

Color values

HEX#B74FA1
RGBrgb(183, 79, 161)
HSLhsl(313, 42%, 51%)
HSVhsv(313, 57%, 72%)
CMYKcmyk(0%, 56.8%, 12%, 28.2%)
CIE-LABlab(49.78, 52.13, -24.52)
CIE-LCHlch(49.78, 57.61, 334.81°)
OKLaboklab(58.86% 0.1521 -0.0664)
OKLCHoklch(58.86% 0.166 336.4)
XYZxyz(28.7577, 18.2346, 35.7163)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FA1 #4FB765
analogous
#994FB7 #B74FA1 #B74F6D
triadic
#B74FA1 #A1B74F #4FA1B7
tetradic
#B74FA1 #B7994F #4FB765 #4F6DB7
square
#B74FA1 #B7994F #4FB765 #4F6DB7
split-complementary
#B74FA1 #6DB74F #4FB799
monochromatic
#632957 #8F3A7D #B74FA1 #C97AB8 #DBA6CF

Accessibility & contrast

On white

4.52
#B74FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B74FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FA1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FA1#FFFFFF#000000##000000
##B74FA11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b74fa1;
/* rgb */ color: rgb(183, 79, 161);
/* oklch */ color: oklch(58.9% 0.166 336.4);
Tailwind
colors: {
  custom: {
    50: '#cf85bd',
    500: '#b74fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b74fa1;
$custom-light: #cf85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fa1",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 312.692,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.16596,
    "h": 336.4
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#B74FA1
secondary
#9AC8A4
accent
#D27056
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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