#B74DC7#B74DC7

#B74DC7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.201 H 322.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B74DC7
RGBrgb(183, 77, 199)
HSLhsl(292, 52%, 54%)
HSVhsv(292, 61%, 78%)
CMYKcmyk(8%, 61.3%, 0%, 22%)
CIE-LABlab(51.27, 59.66, -44.33)
CIE-LCHlch(51.27, 74.33, 323.38°)
OKLaboklab(60.54% 0.1591 -0.1233)
OKLCHoklch(60.54% 0.201 322.2)
XYZxyz(32.4900, 19.5002, 56.0743)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74DC7 #5DC74D
analogous
#7A4DC7 #B74DC7 #C74D9A
triadic
#B74DC7 #C7B74D #4DC7B7
tetradic
#B74DC7 #C77A4D #5DC74D #4D9AC7
square
#B74DC7 #C77A4D #5DC74D #4D9AC7
split-complementary
#B74DC7 #9AC74D #4DC77A
monochromatic
#6A2575 #9533A3 #B74DC7 #CA7CD6 #DDAAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B74DC7#FFFFFF#000000##000000
##B74DC71.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)
#3372CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#B96083
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b74dc7;
/* rgb */ color: rgb(183, 77, 199);
/* oklch */ color: oklch(60.5% 0.201 322.2);
Tailwind
colors: {
  custom: {
    50: '#d085d8',
    500: '#b74dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b74dc7;
$custom-light: #d085d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b74dc7",
  "rgb": {
    "r": 183,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 292.131,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.20127,
    "h": 322.2
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#B74DC7
secondary
#A5D29E
accent
#DC4C5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B74DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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