#B74CD6#B74CD6

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

Color values

HEX#B74CD6
RGBrgb(183, 76, 214)
HSLhsl(287, 63%, 57%)
HSVhsv(287, 64%, 84%)
CMYKcmyk(14.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(51.94, 62.95, -51.85)
CIE-LCHlch(51.94, 81.55, 320.52°)
OKLaboklab(61.29% 0.1604 -0.1452)
OKLCHoklch(61.29% 0.216 317.8)
XYZxyz(34.2488, 20.0926, 65.6795)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CD6 #6BD64C
analogous
#724CD6 #B74CD6 #D64CB0
triadic
#B74CD6 #D6B74C #4CD6B7
tetradic
#B74CD6 #D6724C #6BD64C #4CB0D6
square
#B74CD6 #D6724C #6BD64C #4CB0D6
split-complementary
#B74CD6 #B0D64C #4CD672
monochromatic
#711F88 #9A2BBA #B74CD6 #CB7EE1 #DFB0ED

Accessibility & contrast

On white

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

On black

5.02
#B74CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74CD6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CD6#FFFFFF#000000##000000
##B74CD61.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DA
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#B6658B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74cd6;
/* rgb */ color: rgb(183, 76, 214);
/* oklch */ color: oklch(61.3% 0.216 317.8);
Tailwind
colors: {
  custom: {
    50: '#d085e3',
    500: '#b74cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b74cd6;
$custom-light: #d085e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cd6",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 286.522,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.21635,
    "h": 317.8
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#B74CD6
secondary
#AFDBA3
accent
#E64267
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B74CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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