#B74EC4#B74EC4

#B74EC4 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.197 H 323.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B74EC4
RGBrgb(183, 78, 196)
HSLhsl(293, 50%, 54%)
HSVhsv(293, 60%, 77%)
CMYKcmyk(6.6%, 60.2%, 0%, 23.1%)
CIE-LABlab(51.27, 58.65, -42.60)
CIE-LCHlch(51.27, 72.49, 324.01°)
OKLaboklab(60.49% 0.1577 -0.1183)
OKLCHoklch(60.49% 0.197 323.1)
XYZxyz(32.2157, 19.5033, 54.2815)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EC4 #5BC44E
analogous
#7C4EC4 #B74EC4 #C44E96
triadic
#B74EC4 #C4B74E #4EC4B7
tetradic
#B74EC4 #C47C4E #5BC44E #4E96C4
square
#B74EC4 #C47C4E #5BC44E #4E96C4
split-complementary
#B74EC4 #96C44E #4EC47C
monochromatic
#692672 #9435A0 #B74EC4 #CA7CD3 #DCAAE3

Accessibility & contrast

On white

4.29
#B74EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B74EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EC4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EC4#FFFFFF#000000##000000
##B74EC41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3872C8
Deuteranopia (green-blind)
#5F7EC1
Tritanopia (blue-blind)
#BA5F82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b74ec4;
/* rgb */ color: rgb(183, 78, 196);
/* oklch */ color: oklch(60.5% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#cf86d6',
    500: '#b74ec4',
    950: '#000000',
  },
}
SCSS
$custom: #b74ec4;
$custom-light: #cf86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ec4",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 293.39,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.19715,
    "h": 323.1
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#B74EC4
secondary
#A3D09E
accent
#DA4E5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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