#B74FB3#B74FB3

#B74FB3 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.181 H 329.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B74FB3
RGBrgb(183, 79, 179)
HSLhsl(302, 42%, 51%)
HSVhsv(302, 57%, 72%)
CMYKcmyk(0%, 56.8%, 2.2%, 28.2%)
CIE-LABlab(50.59, 55.15, -33.82)
CIE-LCHlch(50.59, 64.69, 328.48°)
OKLaboklab(59.72% 0.155 -0.0929)
OKLCHoklch(59.72% 0.181 329.1)
XYZxyz(30.4608, 18.9159, 44.6858)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FB3 #4FB753
analogous
#874FB7 #B74FB3 #B74F7F
triadic
#B74FB3 #B3B74F #4FB3B7
tetradic
#B74FB3 #B7874F #4FB753 #4F7FB7
square
#B74FB3 #B7874F #4FB753 #4F7FB7
split-complementary
#B74FB3 #7FB74F #4FB787
monochromatic
#632961 #8F3A8B #B74FB3 #C97AC6 #DBA6D9

Accessibility & contrast

On white

4.39
#B74FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B74FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FB3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FB3#FFFFFF#000000##000000
##B74FB31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#BD5A7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74fb3;
/* rgb */ color: rgb(183, 79, 179);
/* oklch */ color: oklch(59.7% 0.181 329.1);
Tailwind
colors: {
  custom: {
    50: '#cf86ca',
    500: '#b74fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b74fb3;
$custom-light: #cf86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fb3",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 302.308,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.18067,
    "h": 329.1
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#B74FB3
secondary
#9AC89C
accent
#D25B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B74FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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