#B74DD9#B74DD9

#B74DD9 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.218 H 317.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B74DD9
RGBrgb(183, 77, 217)
HSLhsl(285, 65%, 58%)
HSVhsv(285, 65%, 85%)
CMYKcmyk(15.7%, 64.5%, 0%, 14.9%)
CIE-LABlab(52.27, 63.10, -53.03)
CIE-LCHlch(52.27, 82.42, 319.96°)
OKLaboklab(61.59% 0.1592 -0.1487)
OKLCHoklch(61.59% 0.218 317)
XYZxyz(34.7049, 20.3862, 67.7390)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DD9 #6FD94D
analogous
#714DD9 #B74DD9 #D94DB5
triadic
#B74DD9 #D9B74D #4DD9B7
tetradic
#B74DD9 #D9714D #6FD94D #4DB5D9
square
#B74DD9 #D9714D #6FD94D #4DB5D9
split-complementary
#B74DD9 #B5D94D #4DD971
monochromatic
#721E8D #9B29C0 #B74DD9 #CB7FE4 #E0B2EF

Accessibility & contrast

On white

4.14
#B74DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B74DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74DD9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74DD9#FFFFFF#000000##000000
##B74DD91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1676DD
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#B5678D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b74dd9;
/* rgb */ color: rgb(183, 77, 217);
/* oklch */ color: oklch(61.6% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#d086e5',
    500: '#b74dd9',
    950: '#000000',
  },
}
SCSS
$custom: #b74dd9;
$custom-light: #d086e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dd9",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 285.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.21781,
    "h": 317
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#B74DD9
secondary
#B2DDA5
accent
#E84069
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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