#B74FA7#B74FA7

#B74FA7 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.1% C 0.171 H 333.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B74FA7
RGBrgb(183, 79, 167)
HSLhsl(309, 42%, 51%)
HSVhsv(309, 57%, 72%)
CMYKcmyk(0%, 56.8%, 8.7%, 28.2%)
CIE-LABlab(50.04, 53.11, -27.65)
CIE-LCHlch(50.04, 59.88, 332.50°)
OKLaboklab(59.13% 0.1532 -0.0753)
OKLCHoklch(59.13% 0.171 333.8)
XYZxyz(29.2995, 18.4514, 38.5700)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FA7 #4FB75F
analogous
#934FB7 #B74FA7 #B74F73
triadic
#B74FA7 #A7B74F #4FA7B7
tetradic
#B74FA7 #B7934F #4FB75F #4F73B7
square
#B74FA7 #B7934F #4FB75F #4F73B7
split-complementary
#B74FA7 #73B74F #4FB793
monochromatic
#63295A #8F3A82 #B74FA7 #C97ABD #DBA6D2

Accessibility & contrast

On white

4.48
#B74FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B74FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FA7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FA7#FFFFFF#000000##000000
##B74FA71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DAA
Deuteranopia (green-blind)
#6D7DA4
Tritanopia (blue-blind)
#BF5674
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74fa7;
/* rgb */ color: rgb(183, 79, 167);
/* oklch */ color: oklch(59.1% 0.171 333.8);
Tailwind
colors: {
  custom: {
    50: '#cf86c1',
    500: '#b74fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b74fa7;
$custom-light: #cf86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fa7",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 309.231,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.17069,
    "h": 333.8
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#B74FA7
secondary
#9AC8A1
accent
#D26956
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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