#B74EB2#B74EB2

#B74EB2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.181 H 329.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B74EB2
RGBrgb(183, 78, 178)
HSLhsl(303, 42%, 51%)
HSVhsv(303, 57%, 72%)
CMYKcmyk(0%, 57.4%, 2.7%, 28.2%)
CIE-LABlab(50.37, 55.43, -33.57)
CIE-LCHlch(50.37, 64.81, 328.80°)
OKLaboklab(59.54% 0.1561 -0.0922)
OKLCHoklch(59.54% 0.181 329.4)
XYZxyz(30.2884, 18.7324, 44.1312)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EB2 #4EB753
analogous
#874EB7 #B74EB2 #B74E7D
triadic
#B74EB2 #B2B74E #4EB2B7
tetradic
#B74EB2 #B7874E #4EB753 #4E7DB7
square
#B74EB2 #B7874E #4EB753 #4E7DB7
split-complementary
#B74EB2 #7DB74E #4EB787
monochromatic
#632860 #8E3A8A #B74EB2 #C97AC5 #DAA5D8

Accessibility & contrast

On white

4.42
#B74EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B74EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EB2#FFFFFF#000000##000000
##B74EB21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#BD5979
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b74eb2;
/* rgb */ color: rgb(183, 78, 178);
/* oklch */ color: oklch(59.5% 0.181 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf85c9',
    500: '#b74eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b74eb2;
$custom-light: #cf85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b74eb2",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 302.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.18132,
    "h": 329.4
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#B74EB2
secondary
#99C89B
accent
#D25C56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B74EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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