#B74DD5#B74DD5

#B74DD5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.214 H 318.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B74DD5
RGBrgb(183, 77, 213)
HSLhsl(287, 62%, 57%)
HSVhsv(287, 64%, 84%)
CMYKcmyk(14.1%, 63.8%, 0%, 16.5%)
CIE-LABlab(52.04, 62.32, -51.12)
CIE-LCHlch(52.04, 80.60, 320.64°)
OKLaboklab(61.35% 0.1593 -0.1431)
OKLCHoklch(61.35% 0.214 318.1)
XYZxyz(34.1909, 20.1806, 65.0321)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DD5 #6BD54D
analogous
#734DD5 #B74DD5 #D54DAF
triadic
#B74DD5 #D5B74D #4DD5B7
tetradic
#B74DD5 #D5734D #6BD54D #4DAFD5
square
#B74DD5 #D5734D #6BD54D #4DAFD5
split-complementary
#B74DD5 #AFD54D #4DD573
monochromatic
#712088 #9A2CB9 #B74DD5 #CB7FE1 #DFB0EC

Accessibility & contrast

On white

4.17
#B74DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B74DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DD5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DD5#FFFFFF#000000##000000
##B74DD51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F75D9
Deuteranopia (green-blind)
#5380D2
Tritanopia (blue-blind)
#B6658A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74dd5;
/* rgb */ color: rgb(183, 77, 213);
/* oklch */ color: oklch(61.3% 0.214 318.1);
Tailwind
colors: {
  custom: {
    50: '#d086e2',
    500: '#b74dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b74dd5;
$custom-light: #d086e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dd5",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 286.765,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.2141,
    "h": 318.1
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#B74DD5
secondary
#AFDBA3
accent
#E54367
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B74DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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