#B74FBB#B74FBB

#B74FBB is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.188 H 326.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B74FBB
RGBrgb(183, 79, 187)
HSLhsl(298, 44%, 52%)
HSVhsv(298, 58%, 73%)
CMYKcmyk(2.1%, 57.8%, 0%, 26.7%)
CIE-LABlab(50.98, 56.56, -37.86)
CIE-LCHlch(50.98, 68.06, 326.20°)
OKLaboklab(60.13% 0.1558 -0.1045)
OKLCHoklch(60.13% 0.188 326.1)
XYZxyz(31.2934, 19.2489, 49.0712)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74FBB #53BB4F
analogous
#814FBB #B74FBB #BB4F89
triadic
#B74FBB #BBB74F #4FBBB7
tetradic
#B74FBB #BB814F #53BB4F #4F89BB
square
#B74FBB #BB814F #53BB4F #4F89BB
split-complementary
#B74FBB #89BB4F #4FBB81
monochromatic
#652868 #903994 #B74FBB #C97BCC #DBA7DD

Accessibility & contrast

On white

4.33
#B74FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B74FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74FBB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74FBB#FFFFFF#000000##000000
##B74FBB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#BB5D7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b74fbb;
/* rgb */ color: rgb(183, 79, 187);
/* oklch */ color: oklch(60.1% 0.188 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf86d0',
    500: '#b74fbb',
    950: '#000000',
  },
}
SCSS
$custom: #b74fbb;
$custom-light: #cf86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b74fbb",
  "rgb": {
    "r": 183,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 297.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.18764,
    "h": 326.1
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#B74FBB
secondary
#9DCA9B
accent
#D45459
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B74FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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