#B74CD8#B74CD8

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

Color values

HEX#B74CD8
RGBrgb(183, 76, 216)
HSLhsl(286, 64%, 57%)
HSVhsv(286, 65%, 85%)
CMYKcmyk(15.3%, 64.8%, 0%, 15.3%)
CIE-LABlab(52.06, 63.34, -52.80)
CIE-LCHlch(52.06, 82.46, 320.18°)
OKLaboklab(61.42% 0.1603 -0.148)
OKLCHoklch(61.42% 0.218 317.3)
XYZxyz(34.5058, 20.1954, 67.0329)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CD8 #6DD84C
analogous
#714CD8 #B74CD8 #D84CB3
triadic
#B74CD8 #D8B74C #4CD8B7
tetradic
#B74CD8 #D8714C #6DD84C #4CB3D8
square
#B74CD8 #D8714C #6DD84C #4CB3D8
split-complementary
#B74CD8 #B3D84C #4CD871
monochromatic
#721E8B #9B29BE #B74CD8 #CB7EE3 #DFB1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B74CD8#FFFFFF#000000##000000
##B74CD81.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)
#1575DC
Deuteranopia (green-blind)
#507FD5
Tritanopia (blue-blind)
#B6658C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b74cd8;
/* rgb */ color: rgb(183, 76, 216);
/* oklch */ color: oklch(61.4% 0.218 317.3);
Tailwind
colors: {
  custom: {
    50: '#d085e5',
    500: '#b74cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b74cd8;
$custom-light: #d085e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b74cd8",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 285.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.2182,
    "h": 317.3
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#B74CD8
secondary
#B1DCA4
accent
#E74168
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B74CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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