#B74DC4#B74DC4

#B74DC4 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.199 H 323.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B74DC4
RGBrgb(183, 77, 196)
HSLhsl(293, 50%, 54%)
HSVhsv(293, 61%, 77%)
CMYKcmyk(6.6%, 60.7%, 0%, 23.1%)
CIE-LABlab(51.11, 59.10, -42.86)
CIE-LCHlch(51.11, 73.00, 324.05°)
OKLaboklab(60.37% 0.159 -0.119)
OKLCHoklch(60.37% 0.199 323.2)
XYZxyz(32.1452, 19.3623, 54.2580)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DC4 #5AC44D
analogous
#7B4DC4 #B74DC4 #C44D95
triadic
#B74DC4 #C4B74D #4DC4B7
tetradic
#B74DC4 #C47B4D #5AC44D #4D95C4
square
#B74DC4 #C47B4D #5AC44D #4D95C4
split-complementary
#B74DC4 #95C44D #4DC47B
monochromatic
#692571 #93359F #B74DC4 #CA7BD3 #DCA9E2

Accessibility & contrast

On white

4.31
#B74DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B74DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DC4#FFFFFF#000000##000000
##B74DC41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3672C8
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#BA5F81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b74dc4;
/* rgb */ color: rgb(183, 77, 196);
/* oklch */ color: oklch(60.4% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#d085d6',
    500: '#b74dc4',
    950: '#000000',
  },
}
SCSS
$custom: #b74dc4;
$custom-light: #d085d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dc4",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 293.445,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60371,
    "c": 0.19857,
    "h": 323.2
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#B74DC4
secondary
#A2D09D
accent
#DA4E5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B74DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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