#B74DA7#B74DA7

#B74DA7 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.174 H 333.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B74DA7
RGBrgb(183, 77, 167)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 58%, 72%)
CMYKcmyk(0%, 57.9%, 8.7%, 28.2%)
CIE-LABlab(49.70, 54.03, -28.18)
CIE-LCHlch(49.70, 60.94, 332.46°)
OKLaboklab(58.88% 0.1559 -0.0767)
OKLCHoklch(58.88% 0.174 333.8)
XYZxyz(29.1574, 18.1672, 38.5226)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DA7 #4DB75D
analogous
#924DB7 #B74DA7 #B74D72
triadic
#B74DA7 #A7B74D #4DA7B7
tetradic
#B74DA7 #B7924D #4DB75D #4D72B7
square
#B74DA7 #B7924D #4DB75D #4D72B7
split-complementary
#B74DA7 #72B74D #4DB792
monochromatic
#622859 #8E3981 #B74DA7 #C979BD #DAA4D2

Accessibility & contrast

On white

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

On black

4.63
#B74DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DA7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DA7#FFFFFF#000000##000000
##B74DA71.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#BF5473
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74da7;
/* rgb */ color: rgb(183, 77, 167);
/* oklch */ color: oklch(58.9% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf84c1',
    500: '#b74da7',
    950: '#000000',
  },
}
SCSS
$custom: #b74da7;
$custom-light: #cf84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b74da7",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 309.057,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.17375,
    "h": 333.8
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#B74DA7
secondary
#98C7A0
accent
#D26856
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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