#B74DD4#B74DD4

#B74DD4 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.213 H 318.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B74DD4
RGBrgb(183, 77, 212)
HSLhsl(287, 61%, 57%)
HSVhsv(287, 64%, 83%)
CMYKcmyk(13.7%, 63.7%, 0%, 16.9%)
CIE-LABlab(51.98, 62.13, -50.64)
CIE-LCHlch(51.98, 80.15, 320.82°)
OKLaboklab(61.29% 0.1593 -0.1417)
OKLCHoklch(61.29% 0.213 318.3)
XYZxyz(34.0644, 20.1300, 64.3657)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DD4 #6AD44D
analogous
#744DD4 #B74DD4 #D44DAE
triadic
#B74DD4 #D4B74D #4DD4B7
tetradic
#B74DD4 #D4744D #6AD44D #4DAED4
square
#B74DD4 #D4744D #6AD44D #4DAED4
split-complementary
#B74DD4 #AED44D #4DD474
monochromatic
#702086 #9A2CB7 #B74DD4 #CB7EE0 #DFB0EC

Accessibility & contrast

On white

4.18
#B74DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B74DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DD4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DD4#FFFFFF#000000##000000
##B74DD41.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2175D8
Deuteranopia (green-blind)
#547FD1
Tritanopia (blue-blind)
#B7658A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74dd4;
/* rgb */ color: rgb(183, 77, 212);
/* oklch */ color: oklch(61.3% 0.213 318.3);
Tailwind
colors: {
  custom: {
    50: '#d086e2',
    500: '#b74dd4',
    950: '#000000',
  },
}
SCSS
$custom: #b74dd4;
$custom-light: #d086e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dd4",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 287.111,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.21317,
    "h": 318.3
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#B74DD4
secondary
#AFDAA3
accent
#E44466
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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