#B74BB2#B74BB2

#B74BB2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.186 H 329.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B74BB2
RGBrgb(183, 75, 178)
HSLhsl(303, 43%, 51%)
HSVhsv(303, 59%, 72%)
CMYKcmyk(0%, 59%, 2.7%, 28.2%)
CIE-LABlab(49.88, 56.78, -34.35)
CIE-LCHlch(49.88, 66.37, 328.83°)
OKLaboklab(59.18% 0.16 -0.0944)
OKLCHoklch(59.18% 0.186 329.5)
XYZxyz(30.0801, 18.3158, 44.0618)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74BB2 #4BB750
analogous
#864BB7 #B74BB2 #B74B7C
triadic
#B74BB2 #B2B74B #4BB2B7
tetradic
#B74BB2 #B7864B #4BB750 #4B7CB7
square
#B74BB2 #B7864B #4BB750 #4B7CB7
split-complementary
#B74BB2 #7CB74B #4BB786
monochromatic
#61275E #8D3889 #B74BB2 #C877C5 #DAA2D7

Accessibility & contrast

On white

4.50
#B74BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B74BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74BB2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74BB2#FFFFFF#000000##000000
##B74BB21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#BD5678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b74bb2;
/* rgb */ color: rgb(183, 75, 178);
/* oklch */ color: oklch(59.2% 0.186 329.5);
Tailwind
colors: {
  custom: {
    50: '#cf84c9',
    500: '#b74bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b74bb2;
$custom-light: #cf84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74bb2",
  "rgb": {
    "r": 183,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 302.778,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.18576,
    "h": 329.5
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#B74BB2
secondary
#97C799
accent
#D35B55
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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